aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-31 01:50:43 +0000
committerBill Nottingham <notting@redhat.com>2006-10-31 01:50:43 +0000
commit3743544a00b8e8e8ba1f64ad4fa9d610975448b9 (patch)
tree79bf57652f4f08346d120485a7894b9dca478077 /rc.d/rc.sysinit
parentf68cf7c716b8b581e158cdb3110814d5b84c8c8d (diff)
downloadinitscripts-3743544a00b8e8e8ba1f64ad4fa9d610975448b9.tar
initscripts-3743544a00b8e8e8ba1f64ad4fa9d610975448b9.tar.gz
initscripts-3743544a00b8e8e8ba1f64ad4fa9d610975448b9.tar.bz2
initscripts-3743544a00b8e8e8ba1f64ad4fa9d610975448b9.tar.xz
initscripts-3743544a00b8e8e8ba1f64ad4fa9d610975448b9.zip
mount tmpfs with -n (#213132)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 07f3d2ed..b02e440e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -537,7 +537,7 @@ if [ "$READONLY" = "yes" -o "$TEMPORARY_STATE" = "yes" ]; then
elif [ x$rw_mount_dev != x ] && mount $rw_mount_dev $mountopts "$RW_MOUNT" > /dev/null 2>&1; then
rm -rf "$RW_MOUNT" > /dev/null 2>&1
else
- mount -t tmpfs $mountopts none "$RW_MOUNT"
+ mount -n -t tmpfs $mountopts none "$RW_MOUNT"
fi
for file in /etc/rwtab /etc/rwtab.d/* ; do