forcing a disk check

Peter Garrett peter.garrett at optusnet.com.au
Sun Nov 27 14:38:00 UTC 2005


On Sun, 27 Nov 2005 07:51:54 -0600
ben miller <wheelscribe at gmail.com> wrote:

> Hello,
> Is there a way to force a disk check when Linux boots? I've been looking
> at difference sources on the web and haven't found any reference to
> this.
> 
> Thanks,
> Ben

Looks like you can do this with the "shutdown" command by using the
-F  option (see "man shutdown" ).

 -F     Force fsck on reboot.

I guess something like

sudo shutdown -rF now 

(haven't tried it )

Peter


-- 

Linux User #343161 




More information about the ubuntu-users mailing list