summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2004-11-09 10:03:17 +0000
committerkeramida <keramida@FreeBSD.org>2004-11-09 10:03:17 +0000
commita9be34826611fd6d886a94488931a067b4f5ed2e (patch)
tree0a11e0afec881d2f75d5f712bf77d980818490ec /etc/defaults
parent173ef4db9740ebfb9354f9d7fb956680520f0b62 (diff)
downloadFreeBSD-src-a9be34826611fd6d886a94488931a067b4f5ed2e.zip
FreeBSD-src-a9be34826611fd6d886a94488931a067b4f5ed2e.tar.gz
Add two new rc.conf options: tmpmfs_flags and varmfs_flags.
These can be used to pass extra options to the mdmfs(8) utility, to customize the finer details of the md file system creation (i.e. to turn on/off softupdates, to specify a default owner for md filesystem, etc). Use these two new flags to mount tmpmfs and varmfs without softupdates, since it doesn't make much sense to use SU on malloc-backed file systems. Reviewed by: mtm Inspired by: J. D. Bronson, jbronson at wixb dot com
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 9909ff8..4d79265 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -40,8 +40,10 @@ pccard_ether_delay="5" # Delay before trying to start dhclient in pccard_ether
removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
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 -o noexec,nosuid,nodev" # 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
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