From: Nathan Wagner Date: Sun, 28 May 2017 01:52:12 +0000 (+0000) Subject: force /etc/mtab to be a symlink to /proc/mounts X-Git-Url: https://pd.if.org/git/?p=startuptools;a=commitdiff_plain;h=257f33dd235edbdd9d2e185849b2f9cfc0617ea2 force /etc/mtab to be a symlink to /proc/mounts --- diff --git a/scripts/rc.sysinit b/scripts/rc.sysinit index 8f030c7..b693ecd 100644 --- a/scripts/rc.sysinit +++ b/scripts/rc.sysinit @@ -144,9 +144,9 @@ status_begin mounting remaining filesystems mount -a -t noproc,sysfs,devtmpfs,devpts,tmpfs status_check +# force mtab symlink rm -f /etc/mtab -mount -af -mount -f / +ln -s /proc/mounts /etc/mtab # * do any boot time /tmp cleanup or similar