summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-02-04 13:12:52 +0000
committerkib <kib@FreeBSD.org>2012-02-04 13:12:52 +0000
commit9dcb44a0cf7752c503bb1de139329297f9c2294e (patch)
tree2dcf597328d58a5e7387c66154f34679d84774d0 /usr.sbin
parent21763d06b263c44abb20e476106f93b16d14fb64 (diff)
downloadFreeBSD-src-9dcb44a0cf7752c503bb1de139329297f9c2294e.zip
FreeBSD-src-9dcb44a0cf7752c503bb1de139329297f9c2294e.tar.gz
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.89
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8
index 1efd305..f3c942b 100644
--- a/usr.sbin/boot0cfg/boot0cfg.8
+++ b/usr.sbin/boot0cfg/boot0cfg.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 7, 2011
+.Dd February 4, 2012
.Dt BOOT0CFG 8
.Os
.Sh NAME
@@ -114,6 +114,9 @@ Specify slices to be enabled/disabled, where
.Ar mask
is an integer between 0 (no slices enabled) and 0xf (all four slices
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
A comma-separated string of any of the following options may be
specified (with
@@ -172,9 +175,9 @@ To boot slice 2 on the next boot:
.Pp
.Dl "boot0cfg -s 2 ad0"
.Pp
-To enable just slices 1 and 2 in the menu:
+To enable just slices 1 and 3 in the menu:
.Pp
-.Dl "boot0cfg -m 0x3 ad0"
+.Dl "boot0cfg -m 0x5 ad0"
.Pp
To go back to non-interactive booting, use
.Xr fdisk 8
OpenPOWER on IntegriCloud