[Lunar-bugs] [support] /dev/shm not mounted

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Sun Jan 23 03:33:53 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    moonbase (modules)
 Category:     support requests
 Priority:     normal
 Assigned to:  <unassigned>
 Reported by:  dveatch
 Updated by:   dveatch
 Status:       active

Not sure what category to put this under... anyway.

I have noticed for sometime now with 2.6 kernels on boot up /dev/shm
does not get mounted. This happened using devfs or udev. I didn't
really think to much about it since it didn't seem to impact anything. 

To make a long story short. I ended up in
/usr/src/linux-2.6.11-rc1/Documentation/filesystems/tmpfs.txt. The
paragraph of interest is;

2) glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
POSIX shared memory (shm_open, shm_unlink).
 Adding the following

   line to /etc/fstab should take care of this:

 tmpfs /dev/shm tmpfs defaults 0 0

   Remember to create the directory that you intend to mount tmpfs on  
if necessary (/dev/shm is automagically created if you use devfs).


Made the change and it now mounts.

dveatch

-- 
View: http://lunar-linux.org/?q=node/view/694
Edit: http://lunar-linux.org/?q=project/comments/add/694




More information about the Lunar-bugs mailing list