summaryrefslogtreecommitdiff
path: root/share.Linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-08-01 13:20:05 +0000
committerMike Frysinger <vapier@gentoo.org>2007-08-01 13:20:05 +0000
commit67b04947b38d661da413a4224561acaf1aa85373 (patch)
tree28e189baf4f787c35493fb251e7aacad2b869e5c /share.Linux
parented249bad885f4cdd6e12e047562e2a89952b8c75 (diff)
downloadopenrc-67b04947b38d661da413a4224561acaf1aa85373.tar.gz
openrc-67b04947b38d661da413a4224561acaf1aa85373.tar.bz2
openrc-67b04947b38d661da413a4224561acaf1aa85373.tar.xz
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option.
Diffstat (limited to 'share.Linux')
-rw-r--r--share.Linux/fstab12
1 files changed, 5 insertions, 7 deletions
diff --git a/share.Linux/fstab b/share.Linux/fstab
index 0832486..ff43ca1 100644
--- a/share.Linux/fstab
+++ b/share.Linux/fstab
@@ -10,6 +10,10 @@
#
# See the manpage fstab(5) for more information.
#
+# Keep in mind that the boot scripts will ignore many of the core mounts
+# (like /proc or /dev or /dev/shm) unless you set RC_USE_FSTAB in your
+# /etc/conf.d/rc file appropriately.
+#
# <fs> <mountpoint> <type> <opts> <dump/pass>
@@ -18,10 +22,4 @@
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
-#/dev/fd0 /mnt/floppy auto noauto 0 0
-
-# 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)
-shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
+/dev/fd0 /mnt/floppy auto noauto 0 0