diff options
-rw-r--r-- | lib/libc/sys/reboot.2 | 2 | ||||
-rw-r--r-- | 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 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 , |