Does linux have gpart? If so, you should be able to do something like 'gpart show /dev/sda | gpart restore /dev/sdb'
> On Dec 6, 2017, at 5:55 AM, Russell Senior <[email protected]> wrote: > > > Back in the olden days, not so long ago, with old-fashioned partition > tables, it was possible to use sfdisk to dump the partition table from > one disk in such a way as to be able to write the identical partition > table into another same-sized disk. This was often used to prepare > disks for RAID1 mirroring. The incantation was something like: > > # sfdisk --dump /dev/sda | sfdisk /dev/sdb > > What is the equivalent in these modern times with GPT-style partition > tables? > > Thanks! > > > -- > Russell Senior, President > [email protected] > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > > -- Louis Kowolowski [email protected] <mailto:[email protected]> Cryptomonkeys: http://www.cryptomonkeys.com/ <http://www.cryptomonkeys.com/> Making life more interesting for people since 1977 _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
