Re: OT: How to make the system to reply "Y" for force check the file system during boot.

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

 



Someone else here probably knows the actual program, but there is one that I think you use as a pipe that will input Y for all questions.  Something like:

rm -r *.bak | YesProgramName




Wong Kwok-hon wrote:
On 4/24/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
  
Am Sa, den 23.04.2005 schrieb Wong Kwok-hon um 18:05:

    
Would any one tell me how to make a auto reply "Y" to the question on
force check the file system after the Fedora Core hang and reboot? Any
script needed and how to add it ? Because sometimes the linux is not
installed with  monitor on boot.
      
Wong Kwok Hon
      
Create a file like following:

$ cat /etc/sysconfig/autofsck

AUTOFSCK_DEF_CHECK=yes
PROMPT=yes
AUTOFSCK_TIMEOUT=10
AUTOFSCK_OPT=""

Alexander
    

It will detect by system if filesystem need to check ?


Wong Kwok Hon

  


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

  Powered by Linux