Repository navigation
Expand file tree
/
Copy pathfdisk.8
More file actions
58 lines (58 loc) · 1.7 KB
/
Copy pathfdisk.8
File metadata and controls
58 lines (58 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<
7376
div data-line-number="28" class="react-line-number react-code-text" style="padding-right:16px">2829
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.TH FDISK 8
.SH NAME
fdisk \- partition a hard disk [IBM]
.SH SYNOPSIS
\fBfdisk\fR [\fB\-h\fIm\fR]\fR [\fB\-s\fIn\fR]\fR [\fIfile\fR]\fR
.br
.de FL
.TP
\\fB\\$1\\fR
\\$2
..
.de EX
.TP 20
\\fB\\$1\\fR
# \\$2
..
.SH OPTIONS
.FL "\fB\-h" "Number of disk heads is \fIm\fR"
.FL "\fB\-s" "Number of sectors per track is \fIn\fR"
.SH EXAMPLES
.EX "fdisk /dev/c0d0" "Examine disk partitions"
.EX "fdisk \-h9 /dev/c0d0" "Examine disk with 9 heads"
.SH DESCRIPTION
.PP
When \fIfdisk\fR starts up, it reads in the partition table and displays
it.
It then presents a menu to allow the user to modify partitions, store the
partition table on a file, or load it from a file. Partitions can be marked
as
\s-1MINIX 3\s-1,
DOS or other, as well as active or not.
Using \fIfdisk\fR is self-explanatory.
However, be aware that
repartitioning a disk will cause information on it to be lost.
Rebooting the system \fIimmediately\fR
is mandatory after changing partition sizes and parameters.
\s-1MINIX 3\s-1,
\&\s-2XENIX\s0, \s-2PC-IX\s0, and \s-2MS-DOS\s0 all have different
partition numbering schemes.
Thus when using multiple systems on the same disk, be careful.
.PP
Note that
\s-1MINIX 3\s-1,
unlike
\&MS-DOS ,
cannot access the last sector in a partition with an odd number of sectors.
The reason that odd partition sizes do not cause a problem with
\s-2MS-DOS\s0 is that \s-2MS-DOS\s0 allocates disk space in units of
512-byte sectors, whereas
\s-1MINIX 3\s-1
uses 1K blocks.
\fIFdisk\fR has a variety of other features that can be seen by typing \fIh\fR.
.PP
.I Fdisk
normally knows the geometry of the device by asking the driver. You can use
the \fB\-h\fP and \fB\-s\fP options to override the numbers found.
.SH "SEE ALSO"
.BR part (8).