Re: How to make /tmp a temp file system

Phil Savoie <[email protected]> Tue, 24 May 2011 15:19:10 -0400
Newsgroups gmane.linux.mandrake.expert
Message-ID <[email protected]>
Thank you, Pete.  On further investigation I found the script I am
running is actually creating a loopback mount n tmp that does not get
unmounted.  Love troubleshooting somebody else's work.  When "they" are
the "expert".

Phil

On 24/05/11 11:39 AM, peter f miller wrote:
> On Tue, May 24, 2011 at 8:23 AM, Phil Savoie <[email protected]> wrote:
>> Am using M2010.2 and would like to make /tmp a truly temp[ memory only
>> filesystem.  In MCC --> Boot --> Advanced there is a tick box that says
>> to clear out /tmp on reboot.  This lies and is an exercise in
>> frustration as the same files come back from an operation I had done
>> previously using /tmp as a place holder for temp files.  I really need
>> /tmp cleared out... is there a way?
> 
> That checkbox in MCC works for me. What filesystem is mounted on /tmp for you?
>     $ mount | grep tmp
>     none on /tmp type tmpfs (rw)
> 
> You should see the same results as above, with tmpfs as the filesystem.
> 
> Pete
> 
>