View Single Post

   
  #9 (permalink)  
Old 01-18-2008, 07:48 AM
Thorn
 
Posts: n/a
Default Re: why /dev/shm is not used

On Fri, 10 Jun 2005 17:28:47 -0400, Jean-David Beyer Cried: Read These Runes!:
> Andreas Janssen wrote:

----
>> No, but that is not the file system, it is the device file. And because
>> tmpfs is a virtual file system, it doesn't habe one. Same like proc,
>> sys, usbdevfs and all the other virtual file systems.

---
> Here is what my /etc/fstab looks like (boring lines deleted).
>
> none /dev/shm tmpfs defaults 0 0


Confused. I build tmpfs and proc file support into my kernels. Proc
provides some nice info and tmpfs is required for POSIX compliance; at least
per my ATI Radeon binary install instructions.

proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

although:

~$ du /dev/shm
0 /dev/shm

and:

~$ df -h | grep shm
tmpfs 505M 0 505M 0% /dev/shm

Thorn
--
God is a comic playing to an audience that's afraid to laugh.
Reply With Quote