summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2004-10-20 16:58:28 +0000
committerkeramida <keramida@FreeBSD.org>2004-10-20 16:58:28 +0000
commit6efc621989969f3c68fb17034229e45c303b072e (patch)
tree86aa76900d4f112e635083a3a13e34c3e225e569 /share
parent16a654f3be61caca5b8efe306e90ed7be418bd74 (diff)
downloadFreeBSD-src-6efc621989969f3c68fb17034229e45c303b072e.zip
FreeBSD-src-6efc621989969f3c68fb17034229e45c303b072e.tar.gz
Introduce root_rw_mount as a new variable in defaults/rc.conf to
unbreak /etc/rc.d/root for diskless systems that get their root filesystem from a read-only NFS mount. PR: conf/72927 Submitted by: Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de> Reviewed by: brooks
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.513
1 files changed, 13 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 16c7dbe..22bf51f 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -1093,6 +1093,19 @@ any .bde swap devices listed in
.Pa /etc/fstab
will be initialized with a random, one-shot key.
Note that this makes recovery of kernel dumps impossible.
+.It Va root_rw_mount
+.Pq Vt bool
+Set to
+.Dq Li YES
+by default.
+After the file systems are checked at boot time, the root filesystem
+is remounted as read-write if this is set to
+.Dq Li YES .
+Diskless systems that mount their filesystem from a read-only remote
+NFS share should set this to
+.Dq Li NO
+in their
+.Pa rc.conf .
.It Va fsck_y_enable
.Pq Vt bool
If set to
OpenPOWER on IntegriCloud