who's using tmpfs?

Jim Bonnet jimbo
Mon May 17 11:37:37 PDT 2004


Net Llama! wrote:

>On Fri, 13 Sep 2002, Jim Bonnet wrote:
>  
>
>>m.w.chang wrote:
>>
>>    
>>
>>>is it dangerous to mount tmpfs as /tmp for a typical hokme server?
>>>shojuldn't be much a problem I suspect.
>>>
>>>      
>>>
>>one particular unix OS im familiar with sets the /tmp dir up as a memfs
>>by default..
>>
>>it has no trouble at all..
>>    
>>
>
>It also has a rapidly dwindling market share, but we won't dwell on that,
>now will we?  ;)
>
>  
>
uh yeah..  if it had been marketed better, say 5 years ago or more, it 
might not be in
the same position it is now. Its a fine OS for what it does.. Its fairly 
old school though
as you know.. Not a nice whiz=bang OS.. although, have gotten pretty 
good at compiling
stuff for it.. icewm, fvwm, etc.. works pretty well...

but to the point-

Im thinking about this a little more.. One problem that the particular 
OS with the dwindling
market share has is this:

*IF* you have a memfs setup in /tmp and your app's use /tmp quite abit.. 
It is possible to fill
that sucker up.. So think about sizes when building /tmp give yourself 
enough space.

One trick we need to employ sometimes if folks create a /tmp memfs that 
is too small is to unmount it
and leave it dangling on the rootFS during installs of packages 
especially. Then remount it as memfs..

have fun!
jim





More information about the Linux-users mailing list