ref: fe1f6c1b3d571ba6ea4726e175f62689901719a4
parent: 3a4a3faf291b21624a4521fe1e22aec5bec7843d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue May 7 07:41:33 EDT 2019
plan9.ini(8), boot(8): clarify the use of $rootdir and $rootspec
--- a/sys/man/8/boot
+++ b/sys/man/8/boot
@@ -127,9 +127,10 @@
.PP
Once connected,
.I boot
-mounts
-the root file system before
-.B /
+mounts the root file system at
+.B /root
+(with the optional mount spec argument from
+.BR $rootspec )
and makes the connection available as
.B #s/boot
for subsequent processes to
@@ -136,6 +137,13 @@
.B mount
(see
.IR bind (2)).
+It then binds
+.B /root
+(or the value specified by
+.BR $rootdir )
+after the
+.BR /
+directory.
.I Boot
completes by
.IR exec (2)'ing
--- a/sys/man/8/plan9.ini
+++ b/sys/man/8/plan9.ini
@@ -691,10 +691,24 @@
for more.
.SS \fLnobootprompt=\fIvalue\fP
Suppress the
-.L "root from"
+.L bootargs
prompt and use
.I value
as the answer instead.
+.SS \fLrootdir=\fB/root/\fIdir\fP
+.SS \fLrootspec=\fIspec\fP
+Changes the mount arguments for the root file server
+that was specified by
+.I bootargs
+above.
+By changing
+.I dir
+in
+.BR $rootdir ,
+a different sub-directory on the root file server
+can be used as the system root. see
+.IR boot (8)
+for details.
.SS \fLuser=\fIvalue\fP
Suppress the
.L "user"