Harald Dunkel wrote: > I would like to dump and restore a disk label, independent > from the label type. Looking at the documentation it seems that > parted doesn't support this yet. Do you think it could be > added?
It would be a useful new feature. Others have requested it, too. > dd does take ages on todays disks, so this is not an option. > > Any helpful comment would be highly appreciated You can dump most of the required information with this command: parted -m -s /dev/... u s print free That prints the partition table type, sector numbers and most other bits of information, like DOS partition types GPT partition names. However, parted does not print disk and partition UUIDs. As far as I know, there is no tool to parse that output and recreate the corresponding partition table -- assuming the target disk is the same size. I would welcome a patch that adds this feature, one way or another (it needn't use the -m output format, which may be inadequate). _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted