lkml.org 
[lkml]   [2001]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: How errorproof is ext2 fs?
On Sep 14, 2001  22:47 +0200, Otto Wyss wrote:
> > there's no reason you can't configure your boot scripts to automatically
> > fix such problems. and by "manually", I hope you meant that "fsck -y"
> > took 15 minutes to run.
> > ...
> What's this "-y" meaning, "man fsck" does not show it. Could this mean answer
> any question with "yes"? The 15 minutes I needed to answer about the first
> hundreds of questions with "y", afterwards I simply pressed "y" until the fsck
> was finished.

Well, the "best" way of running e2fsck is with the "-p" option, so that it
will pick y/n as appropriate. In almost all cases "-p" and "-y" behave
the same, but in a few rare cases they do not.

In general, if you are manually fsck'ing a filesystem, it is better to
run fsck.<fstype> directly (and read its man page) instead of the "fsck"
wrapper program.

In some rare cases, fsck cannot decide what is the right thing to do, so
you need to run it in manual mode, which appears to be what happened to you.

Cheers, Andreas
--
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.039 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site