Holger had the idea to add to molly-guard a check that would require the sysadmin to manually ack a reboot if fsck would be expected to run. I like it.
Instead of parsing df -t output, invoking tune2fs -l and doing a whole bunch of grep magic, I wonder if there's a smarter way to find out if fsck would do something if it were to run now. There is fsck -A -t ext2,ext3,ext4,… ... but I could not find out how to ask it the question I want answered, which is: "hey, fsck, if you were to run right now on -All filesystems of -type as listed, would you want to do a routine check?" Do you know? Cheers, -- .''`. martin f. krafft <madduck@d.o> @martinkrafft : :' : proud Debian developer `. `'` http://people.debian.org/~madduck `- Debian - when you have better things to do than fixing systems "a woman begins by resisting a man's advances and ends by blocking his retreat." -- oscar wilde
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)