aboutsummaryrefslogtreecommitdiff
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
parented249bad885f4cdd6e12e047562e2a89952b8c75 (diff)
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option.
-rw-r--r--ChangeLog5
-rw-r--r--share.Linux/fstab12
2 files changed, 10 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 464649f1..296e0f3d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for Gentoo System Intialization ("rc") scripts
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
+ 01 Aug 2007; Mike Frysinger <vapier@gentoo.org>:
+
+ Punt /dev/shm from default /etc/fstab as we handle it and add a helpful
+ hint about the RC_USE_FSTAB option.
+
31 Jul 2007; Roy Marples <uberlord@gentoo.org>:
All our binaries are now mulicalls into rc, which makes our on disk size
diff --git a/share.Linux/fstab b/share.Linux/fstab
index 08324862..ff43ca1f 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