FS#26154 - [initscripts] fsck: add fastboot functionality
Attached to Project:
Arch Linux
Opened by Mark (voidzero) - Thursday, 29 September 2011, 23:21 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 02 February 2012, 16:09 GMT
Opened by Mark (voidzero) - Thursday, 29 September 2011, 23:21 GMT
Last edited by Tom Gundersen (tomegun) - Thursday, 02 February 2012, 16:09 GMT
|
Details
From the shutdown manpage:
-f Skip fsck on reboot The -f flag means `reboot fast'. This only creates an advisory file /fastboot 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 not to run fsck(1) since the system has been shut down in the proper way. After that, the boot process should remove /fastboot. Archlinux currently does nothing with this and the /fastboot file persisently remains on the root device. I'd suggest to either handle the file (instruction) properly (yes, skip fsck on boot if requested) or just delete the file. I'd advice against the second option though. On a headless, networking-dependent box the use of this switch can spare a stressed admin from a trip to the datacenter in case fsck starts to b0rk, expected or not. |
This task depends upon
Closed by Tom Gundersen (tomegun)
Thursday, 02 February 2012, 16:09 GMT
Reason for closing: Implemented
Additional comments about closing: in git
Thursday, 02 February 2012, 16:09 GMT
Reason for closing: Implemented
Additional comments about closing: in git
This should be treated together with forcefsck, something like this:
kernel commandline takes precedence over flag files. It might make sense to add support for fsck.mode={auto,force,skip} as the kernel params.
/forcefsck and /fastboot should be deleted by arch-tmpfiles.