From 38f6917c9ec97f5d72fb0c72b001e7a97bfe6122 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Wed, 7 Oct 2009 09:48:19 -0700 Subject: Empty mtab instead of deleting it This fixes an issue with mount.aufs which requires mtab to be present and apparently will not create it on its own See FS#16497 Signed-off-by: Aaron Griffin --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 5f5c99a..a0c4e6f 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -281,7 +281,7 @@ fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / -/bin/rm -f /etc/mtab* +: > /etc/mtab # make sure / gets written to /etc/mtab /bin/mount -o remount,rw / # Write /proc, /sys and /dev to /etc/mtab -- cgit v1.2.3