From: Karel Zak <kzak@redhat.com>
To: Phillip Susi <psusi@ubuntu.com>
Cc: Benno Schulenberg <bensberg@justemail.net>,
Util-Linux <util-linux@vger.kernel.org>
Subject: Re: cfdisk will happily create a partition of size zero
Date: Fri, 6 Feb 2015 10:21:19 +0100 [thread overview]
Message-ID: <20150206092119.GA8546@x2.net.home> (raw)
In-Reply-To: <54D3CBAE.2000402@ubuntu.com>
On Thu, Feb 05, 2015 at 02:59:42PM -0500, Phillip Susi wrote:
> -----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.
It was core of the problem -), all this should be already fixed. Try it.
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
prev parent reply other threads:[~2015-02-06 9:21 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
2015-02-06 9:21 ` Karel Zak [this message]
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=20150206092119.GA8546@x2.net.home \
--to=kzak@redhat.com \
--cc=bensberg@justemail.net \
--cc=psusi@ubuntu.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox