FS#18141 - [initscripts] fsck return '8' not '32' on control-c during forced check during boot.
Attached to Project:
Arch Linux
Opened by Tom (hungerfish) - Wednesday, 03 February 2010, 08:55 GMT
Last edited by Thomas Bächler (brain0) - Monday, 28 February 2011, 16:17 GMT
Opened by Tom (hungerfish) - Wednesday, 03 February 2010, 08:55 GMT
Last edited by Thomas Bächler (brain0) - Monday, 28 February 2011, 16:17 GMT
|
Details
Description:
All partitions are forced to be fscked after so and so many boots, which is fine. Recently, my very large / very full /home needed to be check. I aborted the check with 'control-c' as I was in a hurry, expecting to be able to continue to boot. But I was dropped to 'control-d or sulogin', where control-d reboots the system, upon which the forced check comes up again, meaning I really am 'forced'... I posted about this on arch-general, and the feedback I got suggested that this shouldn't happen. Somebody suggested to try and see what fsck is returning, I did, it gives back '8 - Operational error' , not '32 - Fsck canceled by user request' So either /etc/sysinit is handling this wrong, of fsck is somehow broken. Additional info: testing/initscripts 2010.01-1 but also on older version core/e2fsprogs 1.41.9-1, this is on an ext4 partition Steps to reproduce: In /etc/rc.sysinit: if [ ${fsckret} -gt 1 -a ${fsckret} -ne 32 ]; then ... echo "${fsckret}" and obviously a forced check. |
This task depends upon
Closed by Thomas Bächler (brain0)
Monday, 28 February 2011, 16:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in e2fsprogs, apparently.
Monday, 28 February 2011, 16:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in e2fsprogs, apparently.
Where can I set 'nr. of mounts' so that I can get a 'real' forced-check on reboot?
Seeing that rc.sysinit has been changed though, I guess it may work now, although I'd like to test again...
I set mounttimes to 40, got a forced check, cancelled it, bootup continued, rebooted, got the forced check again,let it complete, all things as they should be!