nwalsh.comI went to give a presentation once and when I powered up my laptop, a room full of spectators got to watch my machine run fsck over one of my partitions. Thankfully, a small one.
I decided what I really needed was a tool that would warn me when automatic disk checking was about to occur. (Yes, some of you think what I really need to do is switch to a journaling file system; let's leave that aside just for the moment.)
The mountinfo command was the result:

It's a perl script. I've linked it into my /etc/init.d tree so that it's just about the last thing run during my boot sequence. This gives me fair warning about what'll happen next time I boot.
Version 1.1 fixes a small bug that caused the usage graph to print badly if the number of mounts exceeded the maximum mount count.