From 66802e2cc7d5058eff02af4efdface9256aff00d Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Tue, 25 Apr 2006 20:42:15 +0000 Subject: o Add IDs for Plan9, QNX4.X, Mac OS-X, Linux exteneded partitions. PR: bin/96326 Submitted by: Alex Kozlov MFC after: 2 weeks --- lib/libdisk/disk.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libdisk') diff --git a/lib/libdisk/disk.c b/lib/libdisk/disk.c index 7170d4b348107..68be4eee464a3 100644 --- a/lib/libdisk/disk.c +++ b/lib/libdisk/disk.c @@ -350,6 +350,10 @@ slice_type_name( int type, int subtype ) case 14: return "fat (16-bit,>32Mb,LBA)"; case 15: return "extended DOS, LBA"; case 18: return "Compaq Diagnostic"; + case 57: return "Plan 9"; + case 77: return "QNX 4.X"; + case 78: return "QNX 4.X 2nd part"; + case 79: return "QNX 4.X 3rd part"; case 84: return "OnTrack diskmgr"; case 100: return "Netware 2.x"; case 101: return "Netware 3.x"; @@ -358,8 +362,11 @@ slice_type_name( int type, int subtype ) case 129: return "Minix 1.5"; case 130: return "linux_swap"; case 131: return "ext2fs"; + case 133: return "linux extended"; case 166: return "OpenBSD FFS"; /* 0xA6 */ + case 168: return "Mac OS-X"; case 169: return "NetBSD FFS"; /* 0xA9 */ + case 171: return "Mac OS-X Boot"; case 182: return "OpenBSD"; /* dedicated */ case 183: return "bsd/os"; case 184: return "bsd/os swap"; -- cgit v1.3