lkml.org 
[lkml]   [1998]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: mount(2) bug found
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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.189 / U:0.092 seconds]
©2003-2011 Jasper Spaans. Advertise on this site