What's preventing us from symlinking /etc/mtab to /proc/mounts and get
rid of confusing situations when mtab gets out of sync with the kernel?
I tried running my system for a few months this way. The only
regressions I'm seeing are:
1) the Gnome Disk Mounter panel applet seems to get confused. After a
loopback mount gets unmounted, there's still an icon to remount the
device. (the loopback device is correctly cleaned up at umount time).
2) on boot, the system tries to remount /sys even though it's already
mounted, thus spitting this harmless error:
Remounting root filesystem in read-write mode: [ OK ]
mount: according to mtab, /dev/sda1 is already mounted on /
Mounting local filesystems: mount: sysfs already mounted or /sys busy
mount: according to mtab, /sys is already mounted on /sys [FAILED]
Enabling /etc/fstab swaps: [ OK ]
--
// Bernie Innocenti -
http://codewiz.org/
\X/ Sugar Labs -
http://sugarlabs.org/