« Return to Thread: [Cooker] cleaning /tmp on boot

Re: [Cooker] Re: cleaning /tmp on boot

by Frank Griffin-4 :: Rate this Message:

Reply to Author | View in Thread

Tomasz Chmielewski wrote:

> Götz Waschk wrote:
>>
>> check /etc/init.d/mandrake_everytime. If CLEAN_TMP is set in
>> /etc/sysconfig/system, this init script cleans /tmp, except for the
>> files that must stay there.
>>
>>> I ask because I want to enable this on a RHEL machine.
>> Then you'll have to port this, shouldn't be too hard.
>
> Or, just mount /tmp as a tmpfs filesystem.
>

Interesting.  Every MDV cooker system I've built for years has had this
option checked, and in every one of them /tmp *is* a tmpfs filesystem.
Several months ago in this ML (or maybe it was on a bug), somebody asked
what the checkbox did, and I replied that it made /tmp a tmpfs.  Fred
said I was wrong.  Now, I like the fact that it *is* a tmpfs, but if
checking the "clean" box during the install isn't adding that line to
/etc/fstab, then what is ?  I'm not doing it myself.

 « Return to Thread: [Cooker] cleaning /tmp on boot