fsck

Konstantin Svist fry.kun at gmail.com
Wed Mar 26 00:31:34 UTC 2008


tony.chamberlain at lemko.com wrote:
>  
> Is there anyway to automate the following (all from one script):
>
>      Boot to single-user mode (or whatever is required)
>      run fsck
>      reboot back to level 5 (or 3)
>
> so that you can kick it off, go away,
> come back an hour or so later and it'll
> all be done (via IP)?

How about "touch /forcefsck"?
It will force fsck to run on next reboot





More information about the users mailing list