From owner-freebsd-bugs@FreeBSD.ORG Wed Apr 26 21:00:39 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 709BF16A404 for ; Wed, 26 Apr 2006 21:00:39 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF6B743D45 for ; Wed, 26 Apr 2006 21:00:38 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3QL0cvB081595 for ; Wed, 26 Apr 2006 21:00:38 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3QL0cJS081594; Wed, 26 Apr 2006 21:00:38 GMT (envelope-from gnats) Date: Wed, 26 Apr 2006 21:00:38 GMT Message-Id: <200604262100.k3QL0cJS081594@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alex Kozlov Cc: Subject: Re: bin/96326: [libdisk] [patch] update to id -> partition name translation table X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alex Kozlov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 21:00:39 -0000 The following reply was made to PR kern/96326; it has been noted by GNATS. From: Alex Kozlov To: Maxim Konovalov 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