[ale] Fwd: periodic fsck was Re: [patch] ext2/3: documentconditions when reliable operation is possible

Jeff Lightner jlightner at water.com
Tue Nov 10 16:16:03 EST 2009


Actually I realize now I misspoke earlier.  I was looking at the fsck
man page when the one I wanted was the shutdown man page.  On rechecking
I see both the RHEL4 and the Debian system show the -F (force the check)
and the -f (bypass the check) options.

RHEL runs sysvinit - the package that contains the shutdown on my
CentOS5 box is:  SysVinit-2.86.  

Some detail from the man page:

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.

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.

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Michael B. Trausch
Sent: Tuesday, November 10, 2009 3:23 PM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Subject: Re: [ale] Fwd: periodic fsck was Re: [patch] ext2/3:
documentconditions when reliable operation is possible

On Tue, 2009-11-10 at 13:57 -0500, Jeff Lightner wrote:
> Apparently it is something new.  I'd just run across the option this
> weekend while researching bizarre I/O issue and it worked on my
> RHEL5.3 system.

Ahh, alright.  Perhaps I should file a bug in Upstart to ask that their
shutdown get that feature.  Does RHEL use sysvinit, or some init
replacement?  I'd like to see how they implemented it, perhaps I could
even just patch Upstart if they haven't done something like that in the
version that will be going into Karmic+1.

	--- Mike

-- 
Blog:  http://mike.trausch.us/blog/
Misc. Software:  http://mike.trausch.us/software/

"The greater danger for most of us lies not in setting our aim too
high and falling short; but in setting our aim too low, and achieving
our mark." -Michelangelo

_______________________________________________
Ale mailing list
Ale at ale.org
http://mail.ale.org/mailman/listinfo/ale
See JOBS, ANNOUNCE and SCHOOLS lists at
http://mail.ale.org/mailman/listinfo
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------



More information about the Ale mailing list