It is unlikely anyone will ever need this, but I like idea commands being
complete. The partition id's that can be unhide after this change are;
Hidden HPFS/NTFS
Hidden W95 FAT32
Hidden W95 FAT32 (LBA)
Hidden W95 FAT16 (LBA)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
pno = asc_to_index(pnam, z);
id = z->partitions[pno].p.sys_type;
- if (id == 0x11 || id == 0x14 || id == 0x16 || id == 0x17)
+ if (id == 0x11 || id == 0x14 || id == 0x16 || id == 0x17 ||
+ id == 0x17 || id == 0x1b || id == 0x1c || id == 0x1e)
id -= 0x10;
else
errx(EXIT_FAILURE, _("partition %s has id %x and is not hidden"), pnam, id);