diff options
author | Giorgos Keramidas <keramida@FreeBSD.org> | 2004-10-20 16:58:28 +0000 |
---|---|---|
committer | Giorgos Keramidas <keramida@FreeBSD.org> | 2004-10-20 16:58:28 +0000 |
commit | 6e1b2264bd79704d74f819985dc3b48d8e4936f1 (patch) | |
tree | 86aa76900d4f112e635083a3a13e34c3e225e569 /share/man/man5/rc.conf.5 | |
parent | c05c4140e19367292bbba8e53e3ef92790070589 (diff) | |
download | src-6e1b2264bd79704d74f819985dc3b48d8e4936f1.tar.gz src-6e1b2264bd79704d74f819985dc3b48d8e4936f1.zip |
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
Notes
Notes:
svn path=/head/; revision=136730
Diffstat (limited to 'share/man/man5/rc.conf.5')
-rw-r--r-- | share/man/man5/rc.conf.5 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 16c7dbeb216b..22bf51fb78fb 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 |