[Pkg-sysvinit-devel] Bug#630615: Bug#630615: RAMTMP should default to no

Petter Reinholdtsen pere at hungry.com
Wed Jun 15 18:11:00 UTC 2011


[Michael Biebl]
> For the examples I mentioned, those files don't need to be
> persistent, so /var/tmp would not be the right place.

I must have been unclear.  /var/tmp/ is not for persistent data.  It
is for temporary data, but not expected to disappear during boot.
/tmp/ is for temporary data which is expected to disappear during
boot.  Persistent data go in /var/lib/ or another more sensible
location. :)

> Well, I don't consider programs using /tmp for large temporary files
> as buggy as long as someone can provide reference for it.

I am not trying to convince you, I am just trying to explain how
things work.  These days, I do not have the spare time available that
is needed to try to convince you. :)

It might interest you to know that on Solaris, /tmp/ has been a RAM
file system for probably 15 years now, and any portable program need
to take the simple fact that /tmp/ is not for large files.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list