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

[Cooker] Re: cleaning /tmp on boot

by mangoo :: Rate this Message:

Reply to Author | View in Thread

Götz Waschk wrote:

> On Thu, Jul 2, 2009 at 4:17 PM, Tim Edwards<tkedwards@...> wrote:
>> I've noticed the option to "Clean /tmp at each boot" in Mandriva Control
>> Centre->Set up boot system->Advanced. What exactly does this do? Is it
>> setting a grub option and if so which one (I can't seem to see anything
>> obvious in the menu.lst?
>
> Hi Tim,
>
> 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.


--
Tomasz Chmielewski
http://wpkg.org

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