gpllib: refactor partitions detection
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Wed, 5 Aug 2009 00:35:32 +0000 (17:35 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Wed, 5 Aug 2009 00:35:32 +0000 (17:35 -0700)
commita6b80d3e8a356a55b4365c5e402e502843bbff8c
treea9e92742895618e608078c21d0309ea417ea1682
parenta3a51af1381b1abbbf82484b3258955f7d1e79f8
gpllib: refactor partitions detection

Re-implement the logic to parse extended partitions to correctly go through the
linked list of partitions.

Updated the CLI in hdt and tested it both on Qemu (Debian Lenny installation)
and on DELL E6400 (6 partitions). The output seemed sane.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/gpllib/disk/msdos.c
com32/hdt/hdt-cli-disk.c