fstab has an entry like this: # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) # Adding the following line to /etc/fstab should take care of this: shm /dev/shm shm defaults 0 0 localmount does a mount -a, but it skips shmfs: ebegin "Mounting local filesystems" mount -at nocoda,nonfs,noproc,noncpfs,nosmbfs,noshm >/dev/null eend $? "Some local filesystem failed to mount" Why? Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: shmfs enty is ignored Expected Results: stuff in fstab must be mounted
This is what we have in the default fstab: ------------------------------------- # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) # Adding the following line to /etc/fstab should take care of this: none /dev/shm tmpfs defaults 0 0
yes, shmfs is obsolete, see mm/shmem.c
closing