summaryrefslogtreecommitdiffstats
path: root/etc
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 /etc
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 'etc')
-rw-r--r--etc/defaults/rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index a407e37..29ba08c 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -55,6 +55,7 @@ gbde_lockdir="/etc" # Where to look for gbde lockfiles
gbde_swap_enable="NO" # Set to YES to automatically initialize gbde swap
# devices listed in fstab with a random one-shot key
+root_rw_mount="YES" # Set to NO to inhibit remounting root read-write.
fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
background_fsck="YES" # Attempt to run fsck in the background where possible.
background_fsck_delay="60" # Time to wait (seconds) before starting the fsck.
OpenPOWER on IntegriCloud