ITP: gpart (my first package)
With the author's permission, I'm going to package gpart (it's GPL'd).
Below is my proposed control file.
One question (so far): I think the executable belongs in sbin rather than usr/sbin, because it could be used to discover the location of a lost (and hence inaccessible) usr partition. So should I just do that, or are there other considerations? Thanks.
Maintainer: David L. Coe <email@example.com>
Description: Guess PC disk partition table, find lost partitions
Gpart is a tool which tries to guess the primary partition table of a PC-type disk in case the primary partition table in sector 0 is damaged, incorrect or deleted.
It is also good at finding and listing the types, locations, and sizes of inadvertently-deleted partitions, both primary and logical. It gives you the information you need to manually re-create them (using fdisk, cfdisk, sfdisk, etc.).
The guessed table can also be written to a file or (if you firmly believe the guessed table is entirely correct) directly to a disk device.
Supported (guessable) filesystem or partition types:
DOS/Windows FAT (FAT 12/16/32)
Linux swap partitions versions 0 and 1 (Linux v2.2.X)
Other types may be added relatively easily, as separately compiled modules.