FS#16167 - [initscripts] Allowing a forced filesystem check directly from grub
Attached to Project:
Arch Linux
Opened by Olive (olivel) - Sunday, 13 September 2009, 06:14 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 27 March 2011, 11:44 GMT
Opened by Olive (olivel) - Sunday, 13 September 2009, 06:14 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 27 March 2011, 11:44 GMT
|
Details
Description:
It should be a good idea to allow a forced filesystem check directly from grub. The tiny patch I attach to apply to /etc/rc.sysinit force a filesystem check when the option forcefsck=1 is appended to the kernel command line. package version: initscripts 2009.08-1 |
This task depends upon
Still, I like it. Please provide a git patch so we can get proper attribution and all that fun stuff
http://wiki.archlinux.org/index.php/Super_Quick_Git_Guide
http://projects.archlinux.org/?p=initscripts.git;a=summary
http://www.kernel.org/doc/Documentation/kernel-parameters.txt (and make a search on "environment variable")
I have tested my patch and it works.
(note that the tools to log user in such as agetty reset the environment so these variables are not normally seen by users but they are seen by the initscripts)
PS I had to search for 10 mins since i could read the first patch. I also was check if it was added into git repo already.
I hope this helps.
This works for me as well.
You know, the (personal config) files located in /etc/rc.d/functions.d/