aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-04 17:07:32 +0000
committerRoy Marples <roy@marples.name>2008-11-04 17:07:32 +0000
commita178fd0f32f61ba95a7e9abe49db836381665600 (patch)
tree137d9b43e80e90ac1247f58772950a15996f15a2
parent03e8e0cb6817d7a0063b8c6b3738bb08a2db5121 (diff)
We should not update mtab here.
-rw-r--r--init.d/sysfs.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index e711aee4..be5c91bf 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -34,7 +34,7 @@ mount_misc()
if [ -d /sys/kernel/security ] && ! mountinfo -q /sys/kernel/security; then
if grep -qs securityfs /proc/filesystems; then
ebegin "Mounting security filesystem"
- mount -t securityfs -o nodev,noexec,nosuid \
+ mount -n -t securityfs -o nodev,noexec,nosuid \
securityfs /sys/kernel/security
eend $?
fi
@@ -44,7 +44,7 @@ mount_misc()
if [ -d /sys/kernel/debug ] && ! mountinfo -q /sys/kernel/debug; then
if grep -qs debugfs /proc/filesystems; then
ebegin "Mounting debug filesystem"
- mount -t debugfs -o nodev,noexec,nosuid \
+ mount -n -t debugfs -o nodev,noexec,nosuid \
debugfs /sys/kernel/debug
eend $?
fi