I am using 11.10 and have an application (oracle xe) which specifically wants shared memory mounted under /dev/shm. I noticed that the way 11.10 is configured, things are mounted at /run/shm and symlinked from /dev/shm.
I can get things to work by running hte following as root
- # Kill all apps that are using /run/shm
- umount /run/shm
- rmdir /run/shm
- unlink /dev/shm
- mkdir /dev/shm
- mount /dev/shm # I have it defined in /etc/fstab
- ln -s /dev/shm /run/shm
But whenever I reboot, everything goes back to the way that ubuntu ships. What do I need to change to get ubuntu to not try and mount /run/shm?
Thanks, Ransom
/dev/shm? If it merely needs read/write access, then the symlink "should" be fine. If it actually checks/etc/mtab, then that's weird and more complicated. Could you show your/etc/fstab? – haxney Apr 29 '12 at 18:21