FS#1928 - Shutdown -F doesn't do anything
Attached to Project:
Arch Linux
Opened by Glenn Matthys (RedShift) - Thursday, 23 December 2004, 08:19 GMT
Last edited by Judd Vinet (judd) - Wednesday, 29 December 2004, 17:40 GMT
Opened by Glenn Matthys (RedShift) - Thursday, 23 December 2004, 08:19 GMT
Last edited by Judd Vinet (judd) - Wednesday, 29 December 2004, 17:40 GMT
|
Details
Hi,
When I do for example shutdown -r -F now, on reboot the filesystems aren't being checked. (-F means force fsck on reboot) |
This task depends upon
Closed by Judd Vinet (judd)
Sunday, 06 March 2005, 20:07 GMT
Reason for closing: Implemented
Additional comments about closing: added patch for next build
Sunday, 06 March 2005, 20:07 GMT
Reason for closing: Implemented
Additional comments about closing: added patch for next build
In rc.sysinit, filesystems in /etc/fstab are checked on every bootup, so "forcing" an fsck doesn't really have any other effect.
Also, from shutdown(8):
The -F flag means `force fsck'. This only creates an advisory file /forcefsck which can be tested by the system when it comes up again. The boot rc file can test if this file is present, and decide to run fsck(1) with a special `force' flag so that even properly unmounted filesystems get checked. After that, the boot process should remove
/forcefsck.
But, according to fsck's manpage, there is no "force" flag.