diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-07 09:48:19 -0700 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-10-07 09:48:19 -0700 |
commit | 38f6917c9ec97f5d72fb0c72b001e7a97bfe6122 (patch) | |
tree | 93e551d8c4ac676001bf998f00231142f3163f4b | |
parent | 38ae149c009656392f09e5d6384adf88f02173a3 (diff) | |
download | initscripts-38f6917c9ec97f5d72fb0c72b001e7a97bfe6122.tar.xz |
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 <aaronmgriffin@gmail.com>
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |