/tmp may not be enough for some programs. The following command will re-size it to 2GB, without destroying any existing files:mount -t tmpfs tmpfs /tmp -o size=2000M,mode=1777,remount(source: http://wiki.linuxquestions.org/wiki/Tmpfs).
If you find yourself doing this often then you have at least two options:
- either add a suitable line for
/tmpin/etc/fstab:none /tmp tmpfs size=2000M,mode=1777 0 0
- or avoid using
tmpfsentirely, by modifying/etc/default/rcSlike this:RAMTMP=no
(not recommended: may impact both security and performance)
[02 Sep 2012] UPDATE: just noticed that
RAMTMP=no is now the default setting, again, and that it is set in /etc/deafult/tmpfs
No comments:
Post a Comment