Add detection code for DiskCryptor MBR to disklib. Signed-off-by: Gert Hulselmans <gerth at zytor.com> --- com32/gpllib/disk/mbrs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c index 79c62da..e64b3da 100644 --- a/com32/gpllib/disk/mbrs.c +++ b/com32/gpllib/disk/mbrs.c @@ -42,6 +42,8 @@ void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size) /* We need more than 2 bytes */ if (((label >> 8) & 0xff) == 0x8e) strlcpy(buffer, "Windows", buffer_size - 1); + else if (((label >> 8) & 0xff) == 0x90) + strlcpy(buffer, "DiskCryptor", buffer_size - 1); else if (((label >> 8) & 0xff) == 0xfa) strlcpy(buffer, "Syslinux", buffer_size - 1); else -- 1.7.1 ------=_20110124152841_33905 Content-Type: text/x-patch; name="0001-disklib-Detect-Paragon-MBR.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-disklib-Detect-Paragon-MBR.patch"