Re: mount(2) bug found

Michiel Boland (boland@diva.nl)
Mon, 22 Jun 1998 13:47:30 +0200 (MEST)


ralf@uni-koblenz.de wrote:

> Given the number of times I already had ``fun'' due to /etc/mtab being
> out of sync with reality I'll really apreaciate a /proc/mtab which does
> the right thing and a set of tools based on it or some other mechanism
> that supplies correct data.

Don't know about /proc/mtab, but it would not be too difficult
to make a tool that recurses the entire filesystem, does a
stat() on every directory entry, and then generates a tree of
mounted filesystems from the information derived from the
various st_dev fields. I can fix one up if anyone's interested.

Michiel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu