Date: Wed, 26 Apr 2006 21:00:38 GMT From: Alex Kozlov <spam@rm-rf.kiev.ua> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/96326: [libdisk] [patch] update to id -> partition name translation table Message-ID: <200604262100.k3QL0cJS081594@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/96326; it has been noted by GNATS. From: Alex Kozlov <spam@rm-rf.kiev.ua> To: Maxim Konovalov <maxim@FreeBSD.org> Cc: bug-followup@freebsd.org Subject: Re: bin/96326: [libdisk] [patch] update to id -> partition name translation table Date: Wed, 26 Apr 2006 23:55:12 +0300 On Tue, Apr 25, 2006 at 08:43:27PM +0000, Maxim Konovalov wrote: > Synopsis: [libdisk] [patch] update to id -> partition name translation table > > State-Changed-From-To: open->patched > State-Changed-By: maxim > State-Changed-When: Tue Apr 25 20:42:59 UTC 2006 > State-Changed-Why: > Committed to HEAD. Thanks for the submisson! Here is more full version of 'table' patch (actualy sync with table in sbin/fdisk/fdisk.c) NB!: The label can't be more that 22 symbols, if we don't want screw up screen in sysinstall's fdisk --- disk.c Wed Apr 26 14:37:47 2006 +++ disk.c.new Wed Apr 26 14:00:04 2006 @@ -347,30 +347,76 @@ case 12: return "fat (32-bit,LBA)"; case 14: return "fat (16-bit,>32Mb,LBA)"; case 15: return "extended DOS, LBA"; + case 16: return "OPUS"; + case 17: return "OS/2 BM (hid. fat12)"; case 18: return "Compaq Diagnostic"; + case 20: return "OS/2 BM(h.fat16,<32Mb)"; + case 21: return "OS/2 BM hid. ifs"; + case 22: return "AST Windows swapfile"; + case 36: return "NEC DOS"; case 57: return "Plan 9"; + case 60: return "Part.Magic recovery"; + case 64: return "VENIX 286"; + case 65: return "Linux/MINIX (on DRDOS)"; + case 66: return "linux_swap (on DRDOS)"; + case 67: return "linux (on DRDOS)"; case 77: return "QNX 4.X"; case 78: return "QNX 4.X (secondary)"; case 79: return "QNX 4.X (tertiary)"; - case 84: return "OnTrack diskmgr"; + case 80: return "DM"; + case 81: return "DM6 Aux1 or Novell"; + case 82: return "CP/M or MS SysV/AT"; + case 83: return "DM6 Aux3"; + case 84: return "DM6"; + case 85: return "EZ-Drive (DM)"; + case 86: return "Golden Bow (DM)"; + case 92: return "Priam Edisk (DM)"; + case 97: return "SpeedStor"; + case 99: return "System V/386"; case 100: return "Netware 2.x"; case 101: return "Netware 3.x"; + case 112: return "DiskSecure Multi-Boot"; case 115: return "SCO UnixWare"; + case 117: return "PCIX"; case 128: return "Minix 1.1"; case 129: return "Minix 1.5"; case 130: return "linux_swap"; case 131: return "ext2fs"; case 133: return "linux extended"; + case 134: return "NTFS volume set??"; + case 135: return "NTFS volume set??"; + case 147: return "Amoeba fs"; + case 148: return "Amoeba bad block table"; + case 159: return "BSD/OS"; + case 160: return "Suspend to Disk"; + case 165: return "FreeBSD/NetBSD/386BSD"; case 166: return "OpenBSD FFS"; /* 0xA6 */ + case 167: return "NeXTSTEP"; case 168: return "OS-X"; case 169: return "NetBSD FFS"; /* 0xA9 */ case 171: return "OS-X bootable"; + case 172: return "IBM JFS"; case 182: return "OpenBSD"; /* dedicated */ case 183: return "bsd/os"; case 184: return "bsd/os swap"; + case 190: return "Solaris bootable"; case 191: return "Solaris (new)"; + case 193: return "drdos/sec(fat12)"; + case 196: return "drdos/sec(fat16,<32Mb)"; + case 198: return "drdos/sec(fat16,>32Mb)"; + case 199: return "Syrinx"; + case 219: return "CP/M"; + case 225: return "SpeedStor (fat12 ext.)"; + case 227: return "DOS R/O or SpeedStor"; + case 228: return "SpeedStor (fat16 ext.)"; + case 235: return "BeOS"; case 238: return "EFI GPT"; case 239: return "EFI Sys. Part."; + case 241: return "SpeedStor"; + case 242: return "DOS 3.3+ Secondary"; + case 244: return "SpeedStor large" + case 254: return "SpeedStor (>1024 cyl)"; + case 255: return "Xenix badblocks table"; default: return "unknown"; } case fat: -- Adios
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604262100.k3QL0cJS081594>