From 67b04947b38d661da413a4224561acaf1aa85373 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 1 Aug 2007 13:20:05 +0000 Subject: [PATCH] Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option. --- ChangeLog | 5 +++++ share.Linux/fstab | 12 +++++------- 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 : + + 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 : 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. +# # @@ -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