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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:43    [W:0.052 / U:1.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site