LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Automatically forcing file system check? (https://www.linuxquestions.org/questions/linux-hardware-18/automatically-forcing-file-system-check-261024/)

The_Nerd 11-30-2004 02:56 PM

Automatically forcing file system check?
 
Is it possible on Redhat linux (or fedora) to force the file system check every time without having to "push Y within %d seconds to force file integrity check"?

randyding 11-30-2004 10:37 PM

This is a clip from man shutdown, it doesn't completely answer
you question but I think its going in the right direction.
Code:

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.



All times are GMT -5. The time now is 11:57 PM.