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

Red Hat redhat at lokrin.net
Mon Apr 25 02:18:38 UTC 2005


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 at uni-x.org> 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
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050424/5675ff43/attachment-0001.htm>


More information about the fedora-list mailing list