diff options
-rwxr-xr-x | rc.sysinit | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -297,7 +297,11 @@ fi stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / -cat /proc/mounts >| /etc/mtab +if [ -x /bin/findmnt -a -e /proc/self/mountinfo ]; then + /bin/findmnt -rnu -o SOURCE,TARGET,FSTYPE,OPTIONS >| /etc/mtab +else + cat /proc/mounts >| /etc/mtab +fi run_hook sysinit_premount # now mount all the local filesystems /bin/mount -a -t $NETFS -O no_netdev |