-b sectorsize
Specify the sector size of the disk. Valid values are 512, 1024, 2048 or 4096. (Recent kernels
know the sector size. Use this only on old kernels or to override the kernel's ideas.) Since
util-linux-2.17, fdisk differentiates between logical and physical sector size. This option
changes both sector sizes to sectorsize.
|
-c[=mode]
Specify the compatiblity mode, 'dos' or 'nondos'. The default is non-DOS mode. For backward
compatibility, it is possible to use the option without the <mode> argument -- then the default is
used. Note that the optional <mode> argument cannot be separated from the -c option by a space,
the correct form is for example '-c=dos'.
|
-C cyls
Specify the number of cylinders of the disk. I have no idea why anybody would want to do so.
|
-H heads
Specify the number of heads of the disk. (Not the physical number, of course, but the number used
for partition tables.) Reasonable values are 255 and 16.
|
-S sects
Specify the number of sectors per track of the disk. (Not the physical number, of course, but the
number used for partition tables.) A reasonable value is 63.
|
-h Print help and then exit.
|
-l List the partition tables for the specified devices and then exit. If no devices are given, those
mentioned in /proc/partitions (if that exists) are used.
|
-s partition...
Print the size (in blocks) of each given partition.
|
-u[=unit]
When listing partition tables, show sizes in 'sectors' or in 'cylinders'. The default is to show
sizes in sectors. For backward compatibility, it is possible to use the option without the
<units> argument -- then the default is used. Note that the optional <unit> argument cannot be
separated from the -u option by a space, the correct form is for example '-u=cylinders'.
|
-v Print version number of fdisk program and exit.
|