summaryrefslogtreecommitdiffstats
path: root/usr.sbin/boot0cfg
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2009-01-13 21:55:39 +0000
committerluigi <luigi@FreeBSD.org>2009-01-13 21:55:39 +0000
commit9d61b04a5c9134fd5ec0b27f68ced13f41c73a3e (patch)
tree05a714f10a61e3ec2b515848075e547e30cd50af /usr.sbin/boot0cfg
parent49eb227b50686c107b98d6d11c812fb9246e7b20 (diff)
downloadFreeBSD-src-9d61b04a5c9134fd5ec0b27f68ced13f41c73a3e.zip
FreeBSD-src-9d61b04a5c9134fd5ec0b27f68ced13f41c73a3e.tar.gz
Extend the geom-related info and put in the NOTE section, not
in BUGS, as this is a feature. Bump the date, as it was forgotten in previous commits and the page has had significant changes recently
Diffstat (limited to 'usr.sbin/boot0cfg')
-rw-r--r--usr.sbin/boot0cfg/boot0cfg.833
1 files changed, 19 insertions, 14 deletions
diff --git a/usr.sbin/boot0cfg/boot0cfg.8 b/usr.sbin/boot0cfg/boot0cfg.8
index 1aa8d2b..c7e664c 100644
--- a/usr.sbin/boot0cfg/boot0cfg.8
+++ b/usr.sbin/boot0cfg/boot0cfg.8
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 7, 2007
+.Dd January 13, 2009
.Dt BOOT0CFG 8
.Os
.Sh NAME
@@ -153,6 +153,21 @@ Set the timeout value to
.It Fl v
Verbose: display information about the slices defined, etc.
.El
+.Sh NOTE
+Protection mechanisms in the
+.Xr geom 4
+subsystem might prevent
+.Nm
+from being able to update the MBR on a mounted disk.
+Instructions for temporarily disabling these protection mechanisms
+can be found in the
+.Xr geom 4
+manpage. Specifically, do a
+.Pp
+.Dl sysctl kern.geom.debugflags=0x10
+.Pp
+to allow writing to the MBR, and restore it to 0 afterwards.
+.Pp
.Sh FILES
.Bl -tag -width /boot/boot0sio -compact
.It Pa /boot/boot0
@@ -186,16 +201,6 @@ to install the default MBR:
.Sh AUTHORS
.An Robert Nordier Aq rnordier@FreeBSD.org .
.Sh BUGS
-Protection mechanisms in the
-.Xr geom 4
-subsystem might prevent
-.Nm
-from being able to update the MBR on a mounted disk.
-Instructions for temporarily disabling these protection mechanisms
-can be found in the
-.Xr geom 4
-manpage.
-.Pp
Use of the
.Sq packet
option may cause
@@ -204,6 +209,6 @@ to fail, depending on the nature of BIOS support.
.Pp
Use of the
.Sq setdrv
-option with an incorrect -d operand may cause the MBR to be written
-to the wrong disk.
-Be careful!
+option with an incorrect -d operand may cause the boot0 code
+to write the MBR to the wrong disk, thus trashing its previous
+content. Be careful.
OpenPOWER on IntegriCloud