How can I retrieve the mount count for an ext3 volume?

Ben Scott dragonhawk at gmail.com
Tue Oct 6 10:42:46 EDT 2009


On Tue, Oct 6, 2009 at 10:31 AM, Thomas Charron <twaffle at gmail.com> wrote:
>  It really suprised me that I couldn't find this information in the
> /proc fs anywhere.

  What do you think this is, MS Windows?  :)  We've got a perfectly
servicable tool (dumpe2fs) that will tell us the information.  Why do
we need a kernel API for it?  :)

  Aside: On non-Linux systems, /proc is usually *just* process info.
Linux extended it to contain miscellaneous system info, e.g., CPU and
memory.  Then later networking info.  Then disk info.  Then ways to
*change* that stuff.  Then a web browser.  Er, maybe not that last.
But /proc on Linux definitely suffers from creeping featurism.  :)

-- Ben



More information about the gnhlug-discuss mailing list