summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-03-14 21:14:31 +0000
committerache <ache@FreeBSD.org>1998-03-14 21:14:31 +0000
commite8c2fe252fc21a5170b63555103a900a75657355 (patch)
tree53e2d42d35d97384b419b811bdbadfcced43a204 /lib
parentbd6d8189692a9d9703b57c5096ff3989b3ecbafd (diff)
downloadFreeBSD-src-e8c2fe252fc21a5170b63555103a900a75657355.zip
FreeBSD-src-e8c2fe252fc21a5170b63555103a900a75657355.tar.gz
Add more AIX/DOS/Win95 partition types
Diffstat (limited to 'lib')
-rw-r--r--lib/libdisk/disk.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c
index 60cb378..7f73979 100644
--- a/lib/libdisk/disk.c
+++ b/lib/libdisk/disk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: disk.c,v 1.29 1998/03/05 03:08:16 obrien Exp $
+ * $Id: disk.c,v 1.30 1998/03/07 08:45:46 ache Exp $
*
*/
@@ -141,9 +141,12 @@ Int_Open_Disk(const char *name, u_long size)
case 0x6:
case 0x4:
case 0xb:
+ case 0xc:
+ case 0xe:
ce = fat;
break;
case DOSPTYP_EXTENDED:
+ case 0xf:
ce = extended;
break;
default:
@@ -358,12 +361,17 @@ slice_type_name( int type, int subtype )
case 1: return "fat (12-bit)";
case 2: return "XENIX /";
case 3: return "XENIX /usr";
- case 4: return "fat (16-bit)";
+ case 4: return "fat (16-bit,<=32Mb)";
case 5: return "extended DOS";
- case 6: return "fat (>32Mb)";
- case 7: return "NTFS/HPFS";
+ case 6: return "fat (16-bit,>32Mb)";
+ case 7: return "NTFS/HPFS/QNX";
+ case 8: return "AIX bootable";
+ case 9: return "AIX data";
case 10: return "OS/2 bootmgr";
case 11: return "fat (32-bit)";
+ case 12: return "fat (32-bit,LBA)";
+ case 14: return "fat (16-bit,>32Mb,LBA)";
+ case 15: return "extended DOS, LBA";
case 84: return "OnTrack diskmgr";
case 100: return "Netware 2.x";
case 101: return "Netware 3.x";
OpenPOWER on IntegriCloud