switch(type)
{
case 0x06: return "FAT16";
case 0x07: return "NTFS";
case 0x0b: return "FAT32";
case 0x0c: return "FAT32";
case 0x0f: return "Extended";
case 0x82: return "Linux Swap/Solaris";
case 0x83: return "EXT2fs/EXT3fs";
case 0x8e: return "Linux LVM";
case 0x00: return "empty";
case 0x01: return "DOS 12-bit FAT";
case 0x04: return "DOS 16-bit FAT";
case 0x05: return "Extended";
case 0x85: return "Linux Extended";
case 0xfd: return "Linux Raid";
case 0x02: return "XENIX root";
case 0x03: return "XENIX /usr";
case 0x08: return "AIX bootable";
case 0x09: return "AIX data";
case 0x0A: return "OS/2 Boot Manager";
case 0x10: return "OPUS";
case 0x11: return "OS/2 Boot Manager hidden 12-bit FAT";
case 0x12: return "Compaq Diagnostics";
case 0x14: return "OS/2 Boot Manager hidden sub-32M 16-bit FAT";
case 0x16: return "OS/2 Boot Manager hidden over-32M 16-bit FAT";
case 0x17: return "OS/2 Boot Manager hidden HPFS";
case 0x18: return "AST special Windows swap";
case 0x24: return "NEC MS-DOS";
case 0x3C: return "PowerQuest PartitionMagic recovery partition";
case 0x40: return "VENIX 80286";
case 0x42: return "SFS (Secure File System)";
case 0x50: return "Disk Manager (ro)";
case 0x51: return "Novell";
case 0x52: return "Microport System V/386";
case 0x56: return "GoldenBow VFeature";
case 0x61: return "SpeedStor";
case 0x63: return "GNU HURD";
case 0x64: return "Novell NetWare";
case 0x65: return "Novell NetWare";
case 0x70: return "DiskSecure Multi-Boot";
case 0x75: return "PC/IX";
case 0x80: return "Minix";
case 0x81: return "Minix";
case 0x84: return "OS/2-hidden";
case 0x93: return "Amoeba";
case 0x94: return "Amoeba bad";
case 0xA5: return "FreeBSD";
case 0xB7: return "BSDI";
case 0xB8: return "BSDI swap ";
case 0xC1: return "DR-DOS 6.0 LOGIN.EXE-secured 12-bit FAT";
case 0xC4: return "DR-DOS 6.0 LOGIN.EXE-secured 16-bit";
case 0xC6: return "DR-DOS 6.0 LOGIN.EXE-secured Huge";
case 0xC7: return "Cyrnix Boot";
case 0xDB: return "CP/M";
case 0xE1: return "SpeedStor 12-bit FAT extended";
case 0xE4: return "SpeedStor 16-bit FAT extended";
case 0xF2: return "DOS 3.3+ secondary";
case 0xF4: return "SpeedStor";
case 0xFE: return "LANstep";
case 0xFF: return "bad";
}