* Julien BLACHE <jbla...@debian.org> [Tue Sep 21, 2010 at 10:01:44PM +0200]:

> I have an idea for a small new feature in setup-storage, and I'm
> looking for some feedback to gauge interest. The idea is to generate a
> script for each device that can be used to recreate the partition table
> after the initial installation, should the need arise.

> The use case is pretty simple: being able to replace a failed disk in a
> RAID setup.

> With an msdos disk label, I just use sfdisk to do this, but I'm not
> aware of an equivalent tool for GPT disk labels. Parted unfortunately
> doesn't have an option to generate a parted script from an existing
> partition table (that I know of, at least).

> Now, I can either write a tool that parses parted output to generate a
> script using parted commands, or I can add this feature to
> setup-storage.

> Any thoughts?

Lovely idea, I'd appreciate such a feature! Would be nice to have
this script available outside of setup-storage as well so it could
be used like sfdisk nowadays, though if setup-storage would support
the feature as well this would be awesome. :)

regards,
-mika-

Attachment: signature.asc
Description: Digital signature

Reply via email to