Frank Griffin skrev:
> 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.
Well, in that case Fred is wrong!
Selecting that option adds this line to /etc/fstab
none /tmp tmpfs defaults 0 0
Wich btw is the only sane way to do it...
If you would have an initscript doing it at boot, it would slow down the
boot _way_ too much...
--
Thomas