swap space

Derek Broughton news at pointerstop.ca
Thu Dec 20 16:52:24 UTC 2007


Steve Flynn wrote:

> On Dec 19, 2007 6:35 PM, Nils Kassube <kassube at gmx.net> wrote:
>> Steve Flynn wrote:
>> > Don't share /tmp though.
>>
>> Why not? What could be the problem? I always thought files in /tmp are
>> not guaranteed to be kept over reboots.
> 
> Thinking about it I can't remember to be honest. I tried this once
> before and got some very strange problems in the second distribution
> (Mandrake 5 if I recall correctly) when I booted into it after running
> an ancient Debian installation.This was sometime around 2000/2001 so I
> don't recall the specifics although I do recall it was because /tmp
> wasn't being cleaned out on reboot... times may have changed since
> then and this may no longer apply.
> 
By definition /tmp/ should always be assumed (though not guaranteed) to be
empty after a boot.  I _have_ seen apps that didn't handle that correctly,
but they are buggy...
-- 
derek





More information about the ubuntu-users mailing list