summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-02-29 17:22:34 +0000
committertrasz <trasz@FreeBSD.org>2016-02-29 17:22:34 +0000
commit4f6959f72d7d7853be8c77ed181530af2bd243db (patch)
tree2b89846c942b6e720ffb4f5e55c563da8be57427
parent3835e904017b37184642a786170ca2f5f42ece72 (diff)
downloadFreeBSD-src-4f6959f72d7d7853be8c77ed181530af2bd243db.zip
FreeBSD-src-4f6959f72d7d7853be8c77ed181530af2bd243db.tar.gz
kenv(8) -> kenv(1)
MFC after: 1 month Sponsored by: The FreeBSD Foundation
-rw-r--r--lib/libc/sys/reboot.22
-rw-r--r--sbin/reboot/reboot.83
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2
index df4a0ec..ce8cc71 100644
--- a/lib/libc/sys/reboot.2
+++ b/lib/libc/sys/reboot.2
@@ -118,7 +118,7 @@ Instead of rebooting, unmount all filesystems except the one containing
currently-running executable, and mount root filesystem using the same
mechanism which is used during normal boot, based on
vfs.root.mountfrom
-.Xr kenv 8
+.Xr kenv 1
variable.
.It Dv RB_RDONLY
Initially mount the root file system read-only.
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8
index c95333c..d0afe67 100644
--- a/sbin/reboot/reboot.8
+++ b/sbin/reboot/reboot.8
@@ -125,7 +125,7 @@ This option should probably not be used.
The system kills all processes, unmounts all filesystems, mounts the new
root filesystem, and begins the usual startup sequence.
After changing vfs.root.mountfrom with
-.Xr kenv 8 ,
+.Xr kenv 1 ,
.Nm Fl r
can be used to change the root filesystem while preserving kernel state.
.El
@@ -153,6 +153,7 @@ kenv vfs.root.mountfrom=ufs:/dev/ada0s1a
reboot -r
.Ed
.Sh SEE ALSO
+.Xr kenv 1 ,
.Xr getutxent 3 ,
.Xr boot 8 ,
.Xr dumpon 8 ,
OpenPOWER on IntegriCloud