From 0ca11f9dedcdc45bcd8cccae6c751fa3b9cd3d8a Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Mon, 29 Feb 2016 17:22:34 +0000 Subject: [PATCH] kenv(8) -> kenv(1) MFC after: 1 month Sponsored by: The FreeBSD Foundation --- lib/libc/sys/reboot.2 | 2 +- sbin/reboot/reboot.8 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2 index df4a0ecb56e..ce8cc713d93 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 c95333c9937..d0afe67d3b0 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 ,