file system mount and umount timestamps?

JB jb.1234abcd at gmail.com
Wed Dec 15 22:14:15 UTC 2010


gerrynix <gerrynix <at> yahoo.com> writes:

> 
> I get 'last mounted' time from the super block using 'tune2fs -l' although
> there are likely other ways such as dumpe2fs. . . I have not found how to 
> determine 
> the 'last umount' timestamp. I suppose it registers somewhere. I've dug and 
> googled but have 'nada' for my efforts. Any ideas/knowledge are welcomed. . . 
> Thnx

If you are really in need of "anything", then you can use shell alias, function,
script, etc and thru mount/umount substitution, inclusion of 'date' output, and
saving the result somewhere (e.g. /var/log/mount.log), to achieve it.

JB




More information about the users mailing list