[Pkg-sysvinit-devel] Bug#402828: initscripts: please add a RAMTMP variable to /etc/default/rcS
Philipp Kern
pkern at debian.org
Thu Apr 7 17:38:25 UTC 2011
On Wed, Nov 04, 2009 at 08:50:26PM +0100, Luca Capello wrote:
> - # Mount /var/run and /var/lock as tmpfs if enabled
> + # Mount /tmp, /var/run and /var/lock as tmpfs if enabled
> + if [ yes = "$RAMTMP" ] ; then
> + TMP_OPT=
> + [ "${TMP_SIZE:=$TMPFS_SIZE}" ] && TMP_OPT=",size=$TMP_SIZE"
> + domount tmpfs "" /tmp tmp -orw,$TMP_OPT
> + touch /tmp/.ramfs
> + fi
Personally I'd appreciate a separate size for the /tmp tmpfs than for the
others.
But then having this officially supported would be cool, given that I manually
implement it on all of my machines anyway. Thanks! ;-)
Kind regards
Philipp Kern
More information about the Pkg-sysvinit-devel
mailing list