summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2007-03-06 13:13:53 +0000
committeryar <yar@FreeBSD.org>2007-03-06 13:13:53 +0000
commit5cd725cb4725f9e24c2e6f9870ab393476cf5cd9 (patch)
tree6957f2edee40f1c97fd0582ec95f4b3a42b56db5 /share
parent378d044a372f6fc82a2aa7d1a71e4f574c1d8160 (diff)
downloadFreeBSD-src-5cd725cb4725f9e24c2e6f9870ab393476cf5cd9.zip
FreeBSD-src-5cd725cb4725f9e24c2e6f9870ab393476cf5cd9.tar.gz
As suggested more than once in the lists, drop -M from flags to mfs
for /tmp and /var. This makes the memory discs swap-backed instead of malloc-backed. A swap-backed memory disc should not be worse than a malloc-backed one in any scenario because it will start touching swap only when needed. OTOH, a malloc-backed disc can starve limited kernel resources and evenually crash the system. Reflect the change in the rc.conf(5) manpage. Also stop telling lies there about softupdates: it does not waste disc space, it just can delay its freeing. Suggested by: many PR: kern/87255 MFC after: 1 week
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/rc.conf.516
1 files changed, 7 insertions, 9 deletions
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 2c64b4e..53b3dcf 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 9, 2007
+.Dd March 6, 2007
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -244,12 +244,11 @@ utility when the memory file system for
.Pa /tmp
is created.
The default is
-.Dq Li "-S -M" ,
+.Dq Li "-S" ,
which inhibits the use of softupdates on
.Pa /tmp
-to waste as little space as possible
-and creates a pure memory backed disk, which will never be swapped out,
-for maximum performance and system stability at low memory conditions.
+so that file system space is freed without delay
+after file truncation or deletion.
See
.Xr mdmfs 8
for other options you can use in
@@ -276,12 +275,11 @@ utility when the memory file system for
.Pa /var
is created.
The default is
-.Dq Li "-S -M" ,
+.Dq Li "-S" ,
which inhibits the use of softupdates on
.Pa /var
-to waste as little space as possible
-and creates a pure memory backed disk, which will never be swapped out,
-for maximum performance and system stability at low memory conditions.
+so that file system space is freed without delay
+after file truncation or deletion.
See
.Xr mdmfs 8
for other options you can use in
OpenPOWER on IntegriCloud