Re: strange e2fsck behaviour in debian 0.91
> I just managed to crash my debian computer for the first time. After
> that I had a chance to test the filesystem checking. I use a pl15 kernel,
> which correctly mounts the root filesystem readonly. After that e2fsck
> reports a number of unused clusters and wrong count of free blocks. It
> claims to correct these errors. After that the a changed filesystem is
> reported and the machine goes on to switch into multi user mode.
> The test in rc.S for errors during fsck seems to be skipped.
> # If there was a failure, drop into single-user mode.
> if [ $? -gt 1 ] ; then
> echo "fsck failed. Please reboot."
Would changing the above to:
if [ $? -ne 0 ] ; then
echo "fsck failed. Please reboot."
Dept. of Economics Email: firstname.lastname@example.org
New York University