hdt: Add disk callbacks (CLI)
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Mon, 27 Apr 2009 06:24:50 +0000 (23:24 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Mon, 27 Apr 2009 06:24:50 +0000 (23:24 -0700)
commit81910f64ece4b1ca9e7e1ff276d673ef2321b1ea
tree1f06f71597cc3f7d60388215f569f94c9d3d19a6
parent6240ecadc145ce1a7b9955e0de08d5faeedc45e5
hdt: Add disk callbacks (CLI)

In the hdt mode, `show disk' outputs a summary for all disks
(C/H/S, EDD (version, size) and host/interface).

In the disk mode, `show' outputs the same as above, `show disks'
a full description for all disks (with partitions) and `show disk 0x80'
detailed information for one disk only (0x80 in that example).

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