aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt/hdt-cli-hdt.c
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-26 23:24:50 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-04-26 23:24:50 -0700
commit81910f64ece4b1ca9e7e1ff276d673ef2321b1ea (patch)
tree1f06f71597cc3f7d60388215f569f94c9d3d19a6 /com32/hdt/hdt-cli-hdt.c
parent6240ecadc145ce1a7b9955e0de08d5faeedc45e5 (diff)
downloadhdt-81910f64ece4b1ca9e7e1ff276d673ef2321b1ea.tar.gz
hdt-81910f64ece4b1ca9e7e1ff276d673ef2321b1ea.tar.xz
hdt-81910f64ece4b1ca9e7e1ff276d673ef2321b1ea.zip
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>
Diffstat (limited to 'com32/hdt/hdt-cli-hdt.c')
-rw-r--r--com32/hdt/hdt-cli-hdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli-hdt.c b/com32/hdt/hdt-cli-hdt.c
index 76785a79..df86e691 100644
--- a/com32/hdt/hdt-cli-hdt.c
+++ b/com32/hdt/hdt-cli-hdt.c
@@ -286,7 +286,7 @@ struct cli_callback_descr list_hdt_show_modules[] = {
},
{
.name = CLI_DISK,
- .exec = main_show_disk,
+ .exec = disks_summary,
},
{
.name = CLI_PXE,