tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: autoclean mode for tmpfs
On Sun, Aug 07, 2011 at 03:10:29AM +0000, David Holland wrote:
> So I just had an idea: since cleaning /tmp on a live system is very
> dangerous unless done so (and even then somewhat dangerous), plus
> there are other possible uses for automatically disappearing files:
>
> How hard would it be to add a mount option for tmpfs to automatically
> drop files after a given timeout? It seems to me that it shouldn't be
> very difficult, but I haven't looked at the tmpfs innards in a while.
>
> Anyone think this is worthwhile?
Sounds like a job for the userland and cron(8).
- Jukka.
Home |
Main Index |
Thread Index |
Old Index