Re: badblocks and e2fsck

Peter T. Breuer (ptb@it.uc3m.es)
Fri, 16 Oct 1998 14:59:20 +0200 (MET DST)


"A month of sundays ago Matthias Andree wrote:"
>
> On Wed, Oct 14, 1998 at 08:52:54PM -0400, Anthony Barbachan wrote:
> > The problem lies in the fact that badblocks is not integrated very well with
> > e2fsck. e2fsck calls badblocks to get a list of the bad blocks on a device
>
> Mightn't it just as well have been mapped away and reassigned by the
> hard disk's operating system?

What's wrong with
dumpe2fs blah | grep /^Bad/ | sed -e 's/.*: //' > badlist
e2fsck -f -l badlist blah

Well, for one, my reading of the manual page might be wrong.

> --
> Matthias Andree

Peter

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