[CentOS] machine with many filesystem errors

Joshua Baker-LePain jlb17 at duke.edu
Thu Jan 18 20:50:34 UTC 2007


On Thu, 18 Jan 2007 at 3:42pm, Jerry Geis wrote

> I booted into rescue mode - I tried to run "e2fsck -p /dev/hda1"
> but it says something about inconsistency and cannot run with -p.
> So then I just run "e2fsck /dev/hda1" and I have to answer MANY
> fixes with a "y".
>
> How can you just tell it to fix it and dont ask?
> I'd hate to say how many 'y' I have answered.

'man e2fsck'
.
.
        -y     Assume an answer of ‘yes’ to all questions; allows e2fsck to be
               used non-interactively.


-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


More information about the CentOS mailing list