[Lunar-bugs] [support] /dev/shm not mounted
lunar-bugs at lunar-linux.org
lunar-bugs at lunar-linux.org
Wed Jan 26 15:44:33 UTC 2005
Project: lunar-linux
ID:
Version: <none>
Component: moonbase (modules)
Category: support requests
Priority: normal
Assigned to: <unassigned>
Reported by: dveatch
Updated by: sofar
Status: active
note: /dev/shm isn't used anymore (the original implementation is
unofficially obsoleted). The new name "tmpfs" is a slightly different
implementation and glibc doesn't really require it as far as I have
every seen(feel free to add comments if you have).
the current tmpfs functions well for locations like /var/lock, /var/run
and /tmp, which should be empty after a reboot. Note /var/tmp is NOT
supposed to be wiped on reboot!
sofar
Previous comments:
------------------------------------------------------------------------
Sun, 01/23/2005 - 03:33 : dveatch
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.
--
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