Re: [PATCH] handle ext3 directory corruption better

From: Pavel Machek
Date: Tue Oct 31 2006 - 04:58:15 EST


Hi!

> The initial image is created in one of 2 ways, either dd a file or mkdir a
> directory depending on what the filesystem creation tools call for. To
> corrupt the image, a version of mangle is used. Mangle is a program that
> corrupts about 10% of the data and favors bytes with a value > 128 to induce
> signed/unsigned problems. The corrupted image is exercised by a program
> called run_test. I separated it from the main program so that you can replay
> a test and debug what is happening.
>
> So, to wrap up...anyone that has anything to do with file system development
> may want to give this tool a try to see how robust any given file system is.
> The program can be grabbed here:
>
> http://people.redhat.com/sgrubb/files/fsfuzzer-0.5.tar.gz

Nice... can you run the same tool against fsck, too?

I did that some time ago, with less evil tool, and got some
interesting results.

(Expectation is that no matter how you corrupt fs, fsck will get it
back to consistent state...)
Pavel
--
Thanks for all the (sleeping) penguins.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/