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

Re: Moving /tmp to tmpfs makes it useless

On Sat, 2012-05-26 at 16:29 -0400, Joey Hess wrote:
> Ted Ts'o wrote:
> > The main advantage of tmpfs is that it gets wiped on reboot, and so it
> > prevents people and applications from thinking that they can keep
> > stuff in /tmp forever.  It's also faster because a file system has to
> > do extra work to make sure the files are preserved after a reboot.
> This is no new advantage; Debian has deleted the contents of /tmp
> on boot by default for as long as I can remember.

A normal filesystem implementation will try to preserve files in a way
that they survive a reboot, ignorant of the fact that they're destined
to be removed.  It have in the past been annoyed to have to wait for
/tmp to be fsck'd just before it's wiped clean.


Ben Hutchings
You can't have everything.  Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: