fsck (or initlog) result codes

Leonard den Ottolander leonard at den.ottolander.nl
Thu Feb 5 14:13:39 UTC 2004


Hi,

After an unclean shutdown and an apparently succesful fsck (no errors
are reported during the fsck after the reboot) I am still forced to
reboot the system.

I suspect this might have to do with the fsck return codes being wrongly
interpreted. Any value larger than 1 is considered a failure by the
script.

With an fsck result code of 3 however the system passes the next fsck
with no errors whatsoever. Could it be that fsck's result code on
failure actually is -1? Or any other value? Or does initlog (via which
fsck is called) somehow change the result value?

Bye,
Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research






More information about the fedora-devel-list mailing list