summaryrefslogtreecommitdiffstats
path: root/share/man
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 /share/man
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 'share/man')
-rw-r--r--share/man/man5/rc.conf.532
1 files changed, 32 insertions, 0 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 730f534..3bc1985 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -240,6 +240,22 @@ is not writable.
Controls the size of a created
.Pa /tmp
memory file system.
+.It Va tmpmfs_flags
+Extra options passed to the
+.Xr mdmfs 8
+utility when the memory file system for
+.Pa /tmp
+is created.
+The default is
+.Dq Li -S -o noexec,nosuid,nodev ,
+which inhibits the use of softupdates on
+.Pa /tmp
+to waste as little space as possible and mounts the memory file system
+.Dq Li noexec,nosuid,nodev .
+See
+.Xr mdmfs 8
+for other options you can use in
+.Li tmpmfs_flags .
.It Va varmfs
Controls the creation of a
.Pa /var
@@ -255,6 +271,21 @@ is not writable.
Controls the size of a created
.Pa /var
memory file system.
+.It Va varmfs_flags
+Extra options passed to the
+.Xr mdmfs 8
+utility when the memory file system for
+.Pa /var
+is created.
+The default is
+.Dq Li -S ,
+which inhibits the use of softupdates on
+.Pa /var
+to waste as little space as possible.
+See
+.Xr mdmfs 8
+for other options you can use in
+.Li varmfs_flags .
.It Va populate_var
Controls the automatic population of the
.Pa /var
@@ -3109,6 +3140,7 @@ device and the mount point will be changed.
.Xr kldxref 8 ,
.Xr lpd 8 ,
.Xr mdconfig 8 ,
+.Xr mdmfs 8 ,
.Xr mountd 8 ,
.Xr moused 8 ,
.Xr mrouted 8 ,
OpenPOWER on IntegriCloud