diff options
author | yar <yar@FreeBSD.org> | 2007-03-06 13:13:53 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2007-03-06 13:13:53 +0000 |
commit | 5cd725cb4725f9e24c2e6f9870ab393476cf5cd9 (patch) | |
tree | 6957f2edee40f1c97fd0582ec95f4b3a42b56db5 /etc/defaults/rc.conf | |
parent | 378d044a372f6fc82a2aa7d1a71e4f574c1d8160 (diff) | |
download | FreeBSD-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 'etc/defaults/rc.conf')
-rw-r--r-- | etc/defaults/rc.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index dfa384a..523afc7 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -42,10 +42,10 @@ powerd_enable="NO" # Run powerd to lower our power usage. powerd_flags="" # Flags to powerd (if enabled). 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 -M" # Extra mdmfs options for the mfs /tmp +tmpmfs_flags="-S" # 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 -M" # Extra mount options for the mfs /var +varmfs_flags="-S" # Extra mount options for the mfs /var populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never cleanvar_enable="YES" # Clean the /var directory local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. |