On Thu, Apr 12, 2001 at 03:23:51PM +0200, Russell Coker wrote: > Is there a program in Debian to dump the fdisk data to a file? > > I would like to do `fdisk-dump /dev/hda > /etc/hda.fdisk` so that if the > partition table gets corrupted I can do > `fdisk-restore /dev/hda < /etc/hda.fdisk` . Is there any software in Debian > that allows such operations?
You can save the output of 'fdisk -l' but it can't be automatically restored, AFAIK. For full automation, try sfdisk. I haven't used it, but the manpage looks promising. -- Tommi Komulainen [EMAIL PROTECTED] GPG 1024D/68388EE6 6FD6 DD79 EB38 BF6F 3533 09C0 04A8 9871 6838 8EE6
pgpxVXxjYhDme.pgp
Description: PGP signature