Never mind.. I finally grabed the source to e2fsprogs and figured it
out. After watching e2fsck mark the bad block and clean up the partition,
I now understand why certian programs weren't working properly!
On Sat, 5 Feb 2000, Ken Bowley wrote:
> I'm being lazy by not looking through the source of e2fsck and badblocks
> to figure this out on my own, but I was hoping that someone would be able
> to help me with this one.
>
> I have a drive that seems to work perfectly fine, except for getting these
> error messages from the kernel when it attempts to access a specific block
> on the drive. I've run badblocks on the partition (even got the nice error
> message from the kernel when badblocks hit the offending block), but it
> didn't report anything as being bad. Looking through the man page for
> e2fsck, it says to feed it the file created by badblocks in order for it
> to add blocks to the table of blocks not to be used, but since badblocks
> doesn't want to believe that there is anything wrong, I'm currently stuck
> here slaming my head against the drive in the hopes that it will get
> better. :)
>
> Now for the simple form of the question:
>
> Does anyone know the format of the file created by badblocks that
> can be passed to e2fsck for marking blocks as bad?
>
> -=-=-=-=-=-=-=-=-=-=-=[The Realm of Darkness]=-=-=-=-=-=-=-=-=-=-= O-
> Ken Bowley johann@trod.org
> AKA: Lord Johann http://www.trod.org
> -=-=-=-=-=[ Linux, the choice of the GNU generation ]=-=-=-=-=-=-=-=-
>
>
> _______________________________________________
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-=-=-=-=-=-=-=-=-=-=-=[The Realm of Darkness]=-=-=-=-=-=-=-=-=-=-= O-
Ken Bowley johann@trod.org
AKA: Lord Johann http://www.trod.org
-=-=-=-=-=[ Linux, the choice of the GNU generation ]=-=-=-=-=-=-=-=-
$f