git: rc.conf: Add and document the missing root_rw_mount=YES

Aaron LI aly at crater.dragonflybsd.org
Thu Jul 18 01:22:27 PDT 2024


commit 31b00396377857ebb62259aa944f9351fa62ea44
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jul 18 16:11:02 2024 +0800

    rc.conf: Add and document the missing root_rw_mount=YES
    
    The 'root_rw_mount' variable was missing, and it caused the rc.d/root
    script to always ignore the 'mount -u -o rw /' command.  Nevertheless,
    the '/' root filesystem was still remounted to be 'rw' because the later
    'mount -a' command, according to /etc/fstab.
    
    With this 'root_rw_mount=YES' placed, the '/' entry should now be
    optional in /etc/fstab because the '/' root filesystem can be correctly
    remounted to be 'rw'.
    
    Obtained-from: FreeBSD (commit 6e1b226)
    Reported-by: robstinge (IRC)

Summary of changes:
 etc/defaults/rc.conf     |  1 +
 share/man/man5/rc.conf.5 | 15 ++++++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/31b00396377857ebb62259aa944f9351fa62ea44


-- 
DragonFly BSD source repository


More information about the Commits mailing list