Recently we encountered a problem (bad blocks) with an ext3 formatted compact flash card running an embedded Linux system. On startup, the root file system check was started, but it seemed to hang since it took much longer than usual. Later I plugged the card into another PC and I detected bad blocks. I wonder now if the initial root file system check would have found an repaired the blocks too, if I had waited long enough. To find it out I checked the tune2fs and e2fsck man pages but could not find the answers to my questions:
Can I influence the checks/repairs that are performed with these automated root file system checks? If yes, how can I configure it?
If it is not possible to configure: What exactly is checked or repaired, what are the default settings, what flags are used for the automated check?