Re: cfdisk will happily create a partition of size zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux