- Document -u, -i, and the difference between them better.
- Remove some historical notes about "future" decisions.
This commit is contained in:
parent
1212ac8123
commit
75cb6f3da0
@ -1,6 +1,6 @@
|
|||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd December 9, 2006
|
.Dd December 12, 2006
|
||||||
.Dt FDISK 8
|
.Dt FDISK 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -75,7 +75,7 @@ Set slice values using the file
|
|||||||
.Ar configfile .
|
.Ar configfile .
|
||||||
The
|
The
|
||||||
.Ar configfile
|
.Ar configfile
|
||||||
always modifies existing slices, unless
|
only modifies explicitly specified slices, unless
|
||||||
.Fl i
|
.Fl i
|
||||||
is also given, in which case all existing slices are deleted (marked
|
is also given, in which case all existing slices are deleted (marked
|
||||||
as
|
as
|
||||||
@ -100,13 +100,12 @@ table (as you are in the interactive mode).
|
|||||||
Use with caution!
|
Use with caution!
|
||||||
.It Fl i
|
.It Fl i
|
||||||
Initialize sector 0 of the disk.
|
Initialize sector 0 of the disk.
|
||||||
This implies
|
Existing slice entries will be cleared
|
||||||
.Fl u ,
|
(marked as unused) before editing.
|
||||||
unless
|
(Compare with
|
||||||
.Fl f
|
.Fl u . )
|
||||||
is given.
|
|
||||||
.It Fl I
|
.It Fl I
|
||||||
Initialize the contents of sector 0
|
Initialize sector 0 slice table
|
||||||
for one
|
for one
|
||||||
.Fx
|
.Fx
|
||||||
slice covering the entire disk.
|
slice covering the entire disk.
|
||||||
@ -120,7 +119,7 @@ option to see what would be written to the slice table.
|
|||||||
Implies
|
Implies
|
||||||
.Fl v .
|
.Fl v .
|
||||||
.It Fl u
|
.It Fl u
|
||||||
Is used for updating (editing) sector 0 of the disk.
|
Update (edit) the disk's sector 0 slice table.
|
||||||
Ignored if
|
Ignored if
|
||||||
.Fl f
|
.Fl f
|
||||||
is given.
|
is given.
|
||||||
@ -257,13 +256,15 @@ and
|
|||||||
flags is that
|
flags is that
|
||||||
the
|
the
|
||||||
.Fl u
|
.Fl u
|
||||||
flag just edits (updates) the fields as they appear on the disk,
|
flag edits (updates) the existing slice parameters
|
||||||
while the
|
while the
|
||||||
.Fl i
|
.Fl i
|
||||||
flag is used to
|
flag is used to
|
||||||
.Dq initialize
|
.Dq initialize
|
||||||
sector 0;
|
them (old values will be ignored);
|
||||||
it will set up the first BIOS slice to use the whole disk for
|
if you edit the first slice,
|
||||||
|
.Fl i
|
||||||
|
will also set it up to use the whole disk for
|
||||||
.Fx
|
.Fx
|
||||||
and make it active.
|
and make it active.
|
||||||
.Sh NOTES
|
.Sh NOTES
|
||||||
@ -281,8 +282,6 @@ If you hand craft your disk layout,
|
|||||||
please make sure that the
|
please make sure that the
|
||||||
.Fx
|
.Fx
|
||||||
slice starts on a cylinder boundary.
|
slice starts on a cylinder boundary.
|
||||||
A number of decisions made later may assume this.
|
|
||||||
(This might not be necessary later.)
|
|
||||||
.Pp
|
.Pp
|
||||||
Editing an existing slice will most likely result in the loss of
|
Editing an existing slice will most likely result in the loss of
|
||||||
all data in that slice.
|
all data in that slice.
|
||||||
@ -413,7 +412,6 @@ for 2503871 sectors (note: these numbers will be rounded upwards and
|
|||||||
downwards to correspond to head and cylinder boundaries):
|
downwards to correspond to head and cylinder boundaries):
|
||||||
.Pp
|
.Pp
|
||||||
.Dl "p 1 165 1 2503871"
|
.Dl "p 1 165 1 2503871"
|
||||||
.Pp
|
|
||||||
.It Ic a Ar slice
|
.It Ic a Ar slice
|
||||||
Make
|
Make
|
||||||
.Ar slice
|
.Ar slice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user