Slug fsck problems
Oct. 28th, 2007 09:54 amFollowing an unfortunate power cycle last week, my slug has been in a sulk. Every time I powered it on, it would spin up the external disc and start to load the
In the end, I attached the disc to another system, manually fscked and checked the contents of
I've often wondered why fsck bothers to ask whether you want to fix consistency problems, rather than simply going ahead and fixing them. It may have made sense to ask back in the day when file systems were only a few megabytes and files were sufficiently few that it was possible to make a judgment on whether to accept consistency changes, but these days it seems pretty pointless.
initramfs
before going completely catatonic. Naturally, given the power cycle, I suspected an file system consistency problem but I wasn't quite sure why init
and fsck
weren't fixing the problem automatically.In the end, I attached the disc to another system, manually fscked and checked the contents of
/etc/default/rcS
. Sure enough, I found that I'd forgotten to set FSCKFIX
to yes
, causing the boot to hang waiting for confirmation on its non-existent console, so I changed the file, reconnected the disc and the slug booted up as expected.I've often wondered why fsck bothers to ask whether you want to fix consistency problems, rather than simply going ahead and fixing them. It may have made sense to ask back in the day when file systems were only a few megabytes and files were sufficiently few that it was possible to make a judgment on whether to accept consistency changes, but these days it seems pretty pointless.