Update fdisk with another diskid

Jasse Jansson jasse at hornet.ac
Fri Mar 25 06:24:21 PST 2005


fdisk now correctly recognizes diskid 0xBF (decimal 191)
as the new Solaris partition type, introduced in version 10.


Index: sbin/i386/fdisk/fdisk.c
===================================================================
RCS file: /home/dcvs/src/sbin/i386/fdisk/fdisk.c,v
retrieving revision 1.10
diff -u -r1.10 fdisk.c
--- sbin/i386/fdisk/fdisk.c	18 Dec 2004 21:43:38 -0000	1.10
+++ sbin/i386/fdisk/fdisk.c	25 Mar 2005 14:31:27 -0000
@@ -185,7 +185,7 @@
 	,{0x79, "QNX4.x 3rd part"}
 	,{0x80, "Minix 1.1 ... 1.4a"}
 	,{0x81, "Minix 1.4b ... 1.5.10"}
-	,{0x82, "Linux swap or Solaris x86"}
+	,{0x82, "Linux swap or Solaris x86 (pre v10)"}
 	,{0x83, "Linux filesystem"}
 	,{0x84, "OS/2 hidden C: drive"}
 	,{0x85, "Linux extended"}
@@ -203,6 +203,7 @@
 	,{0xB7, "BSDI BSD/386 filesystem"}
 	,{0xB8, "BSDI BSD/386 swap"}
 	,{0xBE, "Solaris x86 boot"}
+	,{0xBF, "Solaris v10+ x86/x64"}
 	,{0xC1, "DRDOS/sec with 12-bit FAT"}
 	,{0xC4, "DRDOS/sec with 16-bit FAT (< 32MB)"}
 	,{0xC6, "DRDOS/sec with 16-bit FAT (>= 32MB)"}





More information about the Submit mailing list