On Fri, Nov 18, 2011 at 06:55:26PM +0800, Robin Dong wrote: > From: Robin Dong <sanbai@xxxxxxxxxx> > > We need a tool to wreck filesystem to test e2fsck > > Signed-off-by: Robin Dong <sanbai@xxxxxxxxxx> I don't understand why you need this tool. Debugfs is a more general tool that will do pretty much everything your proposed e2wreck tool will do. The one exception to this is low-level extent tree modifications --- that functionality is there in the tst_extent program, which is a debugging program I used when developing the extent support for e2fsck. Go to the lib/ext2fs directory, and run "make tst_extents". It's been on my todo list to get a more cleaner support for low-level extent manipulation to debugfs, but I haven't gotten around to it, since tst_extents is a serviceable enough, if hacky, substitute. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html