tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

autoclean mode for tmpfs

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?

David A. Holland

Home | Main Index | Thread Index | Old Index