fdisk and cylinders and dos

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

 



 The current fdisk default is to use cylinders and DOS-compatible mode
 (align to the cylinders and use geom.sectors as offset for the first
 partition). Now is year 2010 and this behaviour sucks...

 fdisk(8) since version 2.17[.2] allows to create more modern and with
 new 4K disk (or RAIDs) compatible partition tables. This all is
 possible in non-DOS-compatible mode only.

 So... we need a change. The default fdisk behavior has to be compatible
 with moder operation systems (where all is based on LBA) and modern 
 disks (where is necessary to align to physical sector boundary).

 I have changed the default fdisk behavior, fdisk is going to use sectors
 and non-DOS mode by default (1MiB grain and offset). This change will be
 available in v2.18-rc2.

 The old deprecated DOS stuff could be enable by 'c' and 'u' fdisk
 commands or "-c=dos -u=cylinders" command line options. 
 
 Unfortunately, all scripts where is expected DOS mode has to be
 updated. The scripts where is already "fdisk -l -u" or "fdisk -c -u"
 are not affected by this change.

 Comments?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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