Re: multiple alignment bugs / inconsistencies of fdisk

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

 



On Mon, Jun 08, 2015 at 05:35:35PM +0200, Karel Zak wrote:
> >     Using default response p.
> >     Partition number (1-4, default 1):
> >     First sector (2048-468862127, default 2048):
> >     Last sector, +sectors or +size{K,M,G,T,P} (2048-468862127, default
> > 468862127): +1
> > 
> >     Created a new partition 1 of type 'Linux' and of size 1 KiB.
> > 
> >     Command (m for help): p
> >     Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
> >     Units: sectors of 1 * 512 = 512 bytes
> >     Sector size (logical/physical): 512 bytes / 512 bytes
> >     I/O size (minimum/optimal): 512 bytes / 512 bytes
> >     Disklabel type: dos
> >     Disk identifier: 0x344a2daa
> > 
> >     Device     Boot Start   End Sectors Size Id Type
> >     /dev/sda1        2048  2049       2   1K 83 Linux
> 
> Fixed, now:
> 
>       Device     Boot Start   End Sectors  Size Id Type
>       /dev/sdc1        2048  2048       1  512B 83 Linux

 I have reverted this small change, it's nonsense. The convention +<sectors>
 specifies Last sector relatively to the First sector.

  +0  means   start=2048  end=2048  size=1
  +1  means   start=2048  end=2049  size=2

    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