[Pkg-sysvinit-devel] Unexpected problem with /etc/mtab
-> /proc/mounts
Thomas Hood
jdthood at yahoo.co.uk
Mon Jan 23 08:28:51 UTC 2006
Henrique de Moraes Holschuh wrote:
> I have been always told that /etc/mtab has MORE data about loopback mounts
> than /proc/mount, so you may have to compare them.
I have tested adding some loopback mounts of files on the root filesystem;
umountfs was able to unmount them without any problem.
We know that there _are_ issues with loopback filesystems, though:
#49670, #138040, #288106.
> I repeat my idea: we should parse /etc/mtab, THEN parse /proc/mounts (and
> that does mean read /proc/mounts only after completing /etc/mtab). That
> will take care of everything, I think.
Hmm, yes, that might be better than what we do now. It adds a bit of complexity,
though.
--
Thomas
More information about the Pkg-sysvinit-devel
mailing list