command to recreate an FS?

Christian Kujau lists at nerdbynature.de
Sun Jun 7 07:43:04 UTC 2009


On Wed, 3 Jun 2009, Morty wrote:
> Is there a lightweight command to recreate an ext2/ext3/ext4 FS with
> original options,

If no options have been specified to mke2fs, newer versions of e2fsprogs 
are shipping with /etc/mke2fs.conf which holds a few defaults.

> e.g. based on tune2fs -l output?

No, I don't know of such a tool. Parsing tune2fs -l output and passing 
this to mke2fs seems the way to go here...

> If nothing like this already exists, I'll whip up something in Perl.

Be sure to publish the download URL once it's ready ;-)

Christian.
-- 
BOFH excuse #286:

Telecommunications is downgrading.




More information about the Ext3-users mailing list