From 257f33dd235edbdd9d2e185849b2f9cfc0617ea2 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Sun, 28 May 2017 01:52:12 +0000 Subject: [PATCH] force /etc/mtab to be a symlink to /proc/mounts --- scripts/rc.sysinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0