>A recent Linux-Kernel list post mentioned you can use sfdisk to save/read >partition info to/from a file with the commands: > > % sfdisk -d /dev/hda > hda.pt > % sfdisk /dev/hdb < hda.pt > >No need for expect that way. > > - Matt Very nice! Dave.