[9] | 1 | .TH FDISK 8
|
---|
| 2 | .SH NAME
|
---|
| 3 | fdisk \- partition a hard disk [IBM]
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBfdisk\fR [\fB\-h\fIm\fR]\fR [\fB\-s\fIn\fR]\fR [\fIfile\fR]\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\fB\-h" "Number of disk heads is \fIm\fR"
|
---|
| 19 | .FL "\fB\-s" "Number of sectors per track is \fIn\fR"
|
---|
| 20 | .SH EXAMPLES
|
---|
| 21 | .EX "fdisk /dev/hd0" "Examine disk partitions"
|
---|
| 22 | .EX "fdisk \-h9 /dev/hd0" "Examine disk with 9 heads"
|
---|
| 23 | .SH DESCRIPTION
|
---|
| 24 | .PP
|
---|
| 25 | When \fIfdisk\fR starts up, it reads in the partition table and displays
|
---|
| 26 | it.
|
---|
| 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
|
---|
| 29 | as
|
---|
| 30 | \s-1MINIX 3\s-1,
|
---|
| 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.
|
---|
| 37 | \s-1MINIX 3\s-1,
|
---|
| 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.
|
---|
| 41 | .PP
|
---|
| 42 | Note that
|
---|
| 43 | \s-1MINIX 3\s-1,
|
---|
| 44 | unlike
|
---|
| 45 | \&MS-DOS ,
|
---|
| 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
|
---|
| 50 | \s-1MINIX 3\s-1
|
---|
| 51 | uses 1K blocks.
|
---|
| 52 | \fIFdisk\fR has a variety of other features that can be seen by typing \fIh\fR.
|
---|
| 53 | .PP
|
---|
| 54 | .I Fdisk
|
---|
| 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.
|
---|
| 57 | .SH "SEE ALSO"
|
---|
| 58 | .BR part (8).
|
---|