diff options
author | Tom Gundersen <teg@jklm.no> | 2011-10-18 18:01:33 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2011-10-18 18:28:24 +0200 |
commit | 750db158fca0681273b65b354716469168e341c1 (patch) | |
tree | 9db858d4c22cdde1e7eaa6a1c6df775acf3fde76 | |
parent | 4e45e539e811a1be7be024323c74ec3cccddc007 (diff) |
mtab: delete any stale locks2011.10.2
This should fix (to the extent possible) #FS26337.
Figured-out-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-x | rc.sysinit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -200,6 +200,7 @@ status "Remounting Root Read/Write" \ # don't touch /etc/mtab if it is a symlink to /proc/self/mounts if [[ ! -L /etc/mtab ]]; then stat_busy "Creating mtab" + rm -f /etc/mtab~* # delete any stale locks if [[ -x $(type -P findmnt) && -e /proc/self/mountinfo ]]; then findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab else |