[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Forcing fsck on boot



shutdown -Fr now

or create a file in root called forcecfsck

Q: How to force a check of the file systems?

A: If the file "/forcefsck" exists a file system consistency check
(fsck) will be forced at the next boot up.

The command line commands look like:

	touch /forcefsck
	reboot


akonstam trinity edu wrote:
On Fri, Dec 16, 2005 at 01:36:07PM -0800, Brian D. McGrew wrote:
  
Is there a kernel option or boot option I can give to force fsck?

-brian

Brian D. McGrew { brian visionpro com || brian doubledimension com }
--
    
It seems to me you could do that by altering some of the lines in
/etc/rc.d/rc.sysinit

That is the good news. The bad news is I am having an allergy attack
and I don't have the psychic energy to plow through the file and find
the exact lines to change.
  

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]