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