Re: [RFH] Partition table recovery

From: Rene Herman
Date: Fri Jul 20 2007 - 08:30:39 EST


On 07/20/2007 02:22 PM, Al Boldi wrote:

Oh, gpart is great, but if we had a backup copy of the partition table on
every partition location on disk, then this backup copy could easily be
reused to reconstruct the original partition table without further searching.

As long as you don't reboot you have a "backup copy" in kernel. Admittedly not in a very nice format, but /sys/block/<disk>/<part>/start and size have saved my butt a few times...

Rene.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/