[Ilugc] How fsck runs automattically after power failure

  • From: ranjith88.vel@xxxxxxxxx (Ranjith Rajendran)
  • Date: Thu, 5 Jan 2012 12:47:11 +0530

Hi Friends,

How fsck runs after power failure in Linux?


Unmounting a file system during a standard shutdown sets the clean bit in
the file system header, indicating that the file system was cleanly
umounted and is consistent. If the Linux system is not properly shut down
such as on power failure or on system crashes, the clean bit in file system
header is not set which indicates that the file system is not clean and
need to be cleaned by utilities like fsck/e2fsck in order to make them
usable again.



-- 
Thanks & Regards
Ranjithkumar R

Other related posts:

  • » [Ilugc] How fsck runs automattically after power failure - Ranjith Rajendran