[nflug] quick partition table mirroring

Darin Perusich Darin.Perusich at cognigencorp.com
Fri Sep 5 12:53:32 EDT 2008


Mark Musone wrote:
> I think sfdisk will give you what you want..specifically, the -d option:
> 
>        -d     Dump  the partitions of a device in a format useful
>               as input to sfdisk. For example,
>                   % sfdisk -d /dev/hda > hda.out
>                   % sfdisk /dev/hda < hda.out

That's what I was looking for, thanks! Now if GNU would only build the 
equivalent into parted ;-).

-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com


More information about the nflug mailing list