From: Phillip Susi <psusi@ubuntu.com>
To: Benno Schulenberg <bensberg@justemail.net>,
Util-Linux <util-linux@vger.kernel.org>
Subject: Re: cfdisk will happily create a partition of size zero
Date: Thu, 05 Feb 2015 14:59:42 -0500 [thread overview]
Message-ID: <54D3CBAE.2000402@ubuntu.com> (raw)
In-Reply-To: <1422698319.1391339.221285309.35047434@webmail.messagingengine.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 1/31/2015 4:58 AM, Benno Schulenberg wrote:
> /dev/sda4 93755392 312581807 218826416 104.4G 5
> Extended |-/dev/sda5 93757440 93757440 0
> 0B 83 Linux `-Free space 93759488 312581807 218822320
> 104.4G
>
> Strange. Start and end of sda5 are on the same sector?
Looks like there is also an off by one error in the size calculation
since a partition that starts and ends on the same sector does still
occupy that one sector, so its size can not be zero.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJU08uuAAoJENRVrw2cjl5RBSEIAJ9h1JTD0rVEx+/veyLN+Rz1
ZfjWQI2hQBgxszdFv1ZxQlJRT9xWOgjru2Cn/n/XGBqhXzRc3naUjKvsTlemNKlQ
d+8hgBv/3dxe80+Wh1BbVAfhjVggmMI+ak5ABlAuKwQm+VD8X2dXA7CpC0o3+9Iu
kRyVtp1tTKHZSOW7SV9kFk/yCgurmA4kskxyfG3RpjPD6+STRsAm2f//m1H3nfdP
ele1aDnvPtb6z85XDAeFNXWY++5Bhk7swgNO+Ad/jmEIaej4kxjItRti0jEjIMK+
nOZ6m/lK4+ATeVwku2aJ7GxPd1YPmhu4MgllDLoelDRBMESC4fh/iCWtND8Vr2A=
=Llf2
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2015-02-05 19:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-31 9:58 cfdisk will happily create a partition of size zero Benno Schulenberg
2015-02-05 19:59 ` Phillip Susi [this message]
2015-02-06 9:21 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54D3CBAE.2000402@ubuntu.com \
--to=psusi@ubuntu.com \
--cc=bensberg@justemail.net \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.