3 fdisk \- partition a hard disk [IBM]
5 \fBfdisk\fR [\fB\-h\fIm\fR]\fR [\fB\-s\fIn\fR]\fR [\fIfile\fR]\fR
20 # Number of disk heads is \fIm\fR
23 # Number of sectors per track is \fIn\fR
27 # Examine disk partitions
29 .B fdisk \-h9 /dev/c0d0
30 # Examine disk with 9 heads
33 When \fIfdisk\fR starts up, it reads in the partition table and displays
35 It then presents a menu to allow the user to modify partitions, store the
36 partition table on a file, or load it from a file. Partitions can be marked
39 DOS or other, as well as active or not.
40 Using \fIfdisk\fR is self-explanatory.
41 However, be aware that
42 repartitioning a disk will cause information on it to be lost.
43 Rebooting the system \fIimmediately\fR
44 is mandatory after changing partition sizes and parameters.
46 \&\s-2XENIX\s0, \s-2PC-IX\s0, and \s-2MS-DOS\s0 all have different
47 partition numbering schemes.
48 Thus when using multiple systems on the same disk, be careful.
54 cannot access the last sector in a partition with an odd number of sectors.
55 The reason that odd partition sizes do not cause a problem with
56 \s-2MS-DOS\s0 is that \s-2MS-DOS\s0 allocates disk space in units of
57 512-byte sectors, whereas
60 \fIFdisk\fR has a variety of other features that can be seen by typing \fIh\fR.
63 normally knows the geometry of the device by asking the driver. You can use
64 the \fB\-h\fP and \fB\-s\fP options to override the numbers found.