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

Thomas Charron twaffle at gmail.com
Tue Oct 6 15:58:30 EDT 2009


On Tue, Oct 6, 2009 at 10:42 AM, Ben Scott <dragonhawk at gmail.com> wrote:
> 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?  :)

  Just seems like something they'd have under thar.

>  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.  :)

  I always call it /proc, but I'd really expect it to be in /sys.

-- 
-- Thomas



More information about the gnhlug-discuss mailing list