On Tue, 2006-10-03 at 22:56, Feizhou wrote:
I Imagine he holds the 'Y' key down, too, or has a patch to do it for him..
nah, fsck -y
No. That still bails you out and asks you to run it without -a or -y.
You can, however, put a matchstick between the 'Y' and the 'T' in such a way that you can fix dinner while it's running. ;-)
I just ran 'fsck -fvy' with no complaints.
That works if there is not much damage. If the machine was busy when it crashed there's a fair chance that it will refuse to run with the -y, which is no fun when you really need the machine to restart itself when power is restored.
How serious a level of damage before it refuses -y?
Just guessing, but probably anytime 2 or more concurrent writes had allocated space but not completed the updates.
I cannot remember any time that I have not been able to do -y and there have been times when I saw a huge amount of errors being automatically fixed.
With ext2 my odds were at least one out of 10 that a busy machine wouldn't come back up automatically after a power glitch. Ext3 is much better because it normally just uses the journal to recover.