My laptop runs Debian with an ext3 root filesystem.
Every 27 boots or so it gets stuck doing an fsck for maybe 10 minutes…
This can be inconvenient!
So I wrote a little script which checks if an automatic fsck is ‘coming soon’.
It warns me, so I can run a manual fsck instead.
It also suggests two ways to run a manual fsck.
I am running this from my local profile, and when X starts.
For X, it needs a little wrapper, to show any output in a pop-up message.
I did test it, but will need to wait a few weeks to be really sure it works!