Cleaning /tmp
Tim
ignored_mailbox at yahoo.com.au
Sun Mar 4 12:12:39 UTC 2012
On Sat, 2012-03-03 at 19:36 +0000, James Wilkinson wrote:
> One option is tmpfs. Put something like this in /etc/fstab:
> none /tmp tmpfs nodev,noexec 0 0
> and everything in /tmp will be deleted whenever the system is rebooted
> or powered down (unless you hibernate).
>
> If you have plenty of memory, files in /tmp might never actually reach
> disk, which can improve performance on some tasks.
But bear in mind that if you don't have plenty of memory, and you need
to create large temporary files, you can have a problem.
e.g. Burning discs that need to create the entire iso image file in
the /tmp space.
--
[tim at localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686
Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.
More information about the users
mailing list