Be as explicit as possible when describing relation between the -m mask
argument and slices. Adjust example for the same reason. Submitted by: Valentin Nechayev <netch netch kiev ua> MFC after: 3 days
This commit is contained in:
parent
b6bc9e3bb6
commit
5c95e6ff60
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd November 7, 2011
|
.Dd February 4, 2012
|
||||||
.Dt BOOT0CFG 8
|
.Dt BOOT0CFG 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -114,6 +114,9 @@ Specify slices to be enabled/disabled, where
|
|||||||
.Ar mask
|
.Ar mask
|
||||||
is an integer between 0 (no slices enabled) and 0xf (all four slices
|
is an integer between 0 (no slices enabled) and 0xf (all four slices
|
||||||
enabled).
|
enabled).
|
||||||
|
Each mask bit enables corresponding slice if set to 1.
|
||||||
|
The least significant bit of the mask corresponds to slice 1,
|
||||||
|
the most significant bit of the mask corresponds to slice 4.
|
||||||
.It Fl o Ar options
|
.It Fl o Ar options
|
||||||
A comma-separated string of any of the following options may be
|
A comma-separated string of any of the following options may be
|
||||||
specified (with
|
specified (with
|
||||||
@ -172,9 +175,9 @@ To boot slice 2 on the next boot:
|
|||||||
.Pp
|
.Pp
|
||||||
.Dl "boot0cfg -s 2 ad0"
|
.Dl "boot0cfg -s 2 ad0"
|
||||||
.Pp
|
.Pp
|
||||||
To enable just slices 1 and 2 in the menu:
|
To enable just slices 1 and 3 in the menu:
|
||||||
.Pp
|
.Pp
|
||||||
.Dl "boot0cfg -m 0x3 ad0"
|
.Dl "boot0cfg -m 0x5 ad0"
|
||||||
.Pp
|
.Pp
|
||||||
To go back to non-interactive booting, use
|
To go back to non-interactive booting, use
|
||||||
.Xr fdisk 8
|
.Xr fdisk 8
|
||||||
|
Loading…
Reference in New Issue
Block a user