tmpwatch apparently not doing anything
James Wilkinson
fedora at westexe.demon.co.uk
Fri Feb 3 13:15:21 UTC 2006
Tim wrote:
> I've seen a few people mention that /tmp/ files don't seem to be
> removed, periodically, as they're supposed to, and I notice the same
> thing.
For what it's worth, the following line in /etc/fstab seems to work for
me...
none /tmp tmpfs defaults,nodev,noexec 0 0
What this means is that /tmp files get stored in virtual memory, not on
a regular filesystem, and whenever the machine is rebooted the whole
/tmp filesystem is wiped.
You may not want the nodev or noexec flags.
(The data will physically either be in memory or in the swap file,
depending on how much the data is being used and how much real memory is
being used.)
James.
--
E-mail address: james | 'Short for "Sic Transit Gloria Humanorum", which is
@westexe.demon.co.uk | Latin for "There goes the neighbourhood!"'
| -- Menno Willemse
More information about the fedora-list
mailing list