tag | 63a7e007f6289bfcec185fce37cd549186867b1d | |
---|---|---|
tagger | H. Peter Anvin <hpa@zytor.com> | Mon Aug 24 18:17:34 2009 -0700 |
object | b7ec0f07b339aed8bd2b8da3603b0ee9a6a7417a |
syslinux-3.83-pre9
commit | b7ec0f07b339aed8bd2b8da3603b0ee9a6a7417a | [log] [tgz] |
---|---|---|
author | Pierre-Alexandre Meyer <pierre@mouraf.org> | Sat Aug 22 11:08:04 2009 -0700 |
committer | Erwan Velu <erwan.velu@free.fr> | Mon Aug 24 15:34:37 2009 +0200 |
tree | 3277e81eb11732b05b1459258a26d7c7faef9df0 | |
parent | 9ffe8b0b4e2ff9b98813521f79c840d983424f82 [diff] |
hdt: enhance error reporting in the CLI (disk) parse_partition_table can fail for two reasons: disk I/O error or unrecognized partition layout (non msdos, corrupt, ...). In the latter case, we were displaying Error parsing disk 0x80 parse_partition_table: error 0 which is confusing. We now display Disk 0x80: unrecognized partition layout or the errno_disk in case of I/O errors. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>