FSCK after power failure

Chris Adams cmadams at hiwaay.net
Tue Jan 27 15:03:45 UTC 2004


Once upon a time, STYMA, ROBERT E (ROBERT) <stymar at lucent.com> said:
> When Linux boots after a power failure or other
> hard stop, the boot process detects that the file system
> was not closed cleanly and gives you some small number
> of seconds to press the 'y' key to check the file system.
> If you do not press the 'y' key in that interval, the
> potentially corrupted file system is mounted.  Why is
> this default instead of the other way around?

This is done for the ext3 journaling filesystem.  Assuming there is no
problem with the journaling software, there really should not be a need
to do an fsck ever; the "press 'y' to check" is just an extra check in
case of a really unexpected problem.

If you are running ext2, you'll get a forced fsck with no choice.
-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.





More information about the fedora-list mailing list