Re: Forcing fsck on boot

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

 



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@xxxxxxxxxxx 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@xxxxxxxxxxxxx || brian@xxxxxxxxxxxxxxxxxxx }
--
    
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.
  

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux