aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-10-31 01:51:11 +0000
committerBill Nottingham <notting@redhat.com>2006-10-31 01:51:11 +0000
commitc813031f122d5bbf1b150acb2bb17794abb1933c (patch)
tree30c7c468b781fbc8d313084e47f168c014dbdbed
parentbc9008aa85ecef1668f4a15eab430dccc9bf45fc (diff)
downloadinitscripts-c813031f122d5bbf1b150acb2bb17794abb1933c.tar
initscripts-c813031f122d5bbf1b150acb2bb17794abb1933c.tar.gz
initscripts-c813031f122d5bbf1b150acb2bb17794abb1933c.tar.bz2
initscripts-c813031f122d5bbf1b150acb2bb17794abb1933c.tar.xz
initscripts-c813031f122d5bbf1b150acb2bb17794abb1933c.zip
mount tmpfs with -n (#213132)
-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 60e034c1..06bae60d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -536,7 +536,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