summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-08-24 16:25:47 +0000
committeryar <yar@FreeBSD.org>2005-08-24 16:25:47 +0000
commit473f777e4d124b4ed88d3eb95798889f5570e7f4 (patch)
treec57083ea09c886913a06ce044bc20c6926386206 /etc/defaults
parenta32dd5a1510abc8ffe97a9cbea2c32b28dc891bd (diff)
downloadFreeBSD-src-473f777e4d124b4ed88d3eb95798889f5570e7f4.zip
FreeBSD-src-473f777e4d124b4ed88d3eb95798889f5570e7f4.tar.gz
Stop hard-coding an -M flag to mdmfs(8) in /etc/rc.subr.
Now this flag can be set, or not set, for memory-backed file systems on individual basis, as illustrated by the rc.conf(5) variables tmpmfs_flags and varmfs_flags. The flag is set for those FS'en by default, in /etc/defaults/rc.conf, in order to stay compatible with the old rc.subr behaviour. Submitted by: marck MFC after: 3 days
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index b6e2318..e54540f 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -43,10 +43,10 @@ powerd_flags="" # Flags to powerd (if enabled).
removable_route_flush="YES" # Flush routes when removing an interface
tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
tmpsize="20m" # Size of mfs /tmp if created
-tmpmfs_flags="-S" # Extra mdmfs options for the mfs /tmp
+tmpmfs_flags="-S -M" # Extra mdmfs options for the mfs /tmp
varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never
varsize="32m" # Size of mfs /var if created
-varmfs_flags="-S" # Extra mount options for the mfs /var
+varmfs_flags="-S -M" # Extra mount options for the mfs /var
populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
script_name_sep=" " # Change if your startup scripts' names contain spaces
OpenPOWER on IntegriCloud