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

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

by Steve Morris-5 :: Rate this Message:

Reply to Author | View in Thread

On 05/07/09 07:38, Thomas Backlund wrote:

> 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
>
Related to this when /tmp is mounted as tmpfs what is specifying the
partition size it is mounted with and how is this changed, to verify
whether or not this size is causing ntfs-3g to not be able to
create/write its temporary files at boot time in both cooker and 2009.1?

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard


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