From fe1f6c1b3d571ba6ea4726e175f62689901719a4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 7 May 2019 11:41:33 +0200 Subject: plan9.ini(8), boot(8): clarify the use of $rootdir and $rootspec --- sys/man/8/boot | 14 +++++++++++--- sys/man/8/plan9.ini | 16 +++++++++++++++- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/sys/man/8/boot b/sys/man/8/boot index 261346cfe..c1c8b5a99 100644 --- a/sys/man/8/boot +++ b/sys/man/8/boot @@ -127,15 +127,23 @@ password: .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 .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 diff --git a/sys/man/8/plan9.ini b/sys/man/8/plan9.ini index 96ff418fd..a684860c9 100644 --- a/sys/man/8/plan9.ini +++ b/sys/man/8/plan9.ini @@ -691,10 +691,24 @@ See 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" -- cgit v1.2.3