[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: command to recreate an FS?



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]