From a178fd0f32f61ba95a7e9abe49db836381665600 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 4 Nov 2008 17:07:32 +0000 Subject: We should not update mtab here. --- init.d/sysfs.in | 4 ++-- 1 file 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 -- cgit v1.2.3