Adding upstream version 4.00~pre61+dfsg.
[syslinux-debian/hramrach.git] / com32 / gpllib / disk / labels.c
blobad3d33b34497767554ae7ab5ee68f595885005db
1 /* ----------------------------------------------------------------------- *
3 * Copyright 2009 Pierre-Alexandre Meyer
5 * This file is part of Syslinux, and is made available under
6 * the terms of the GNU General Public License version 2.
8 * ----------------------------------------------------------------------- */
10 #include <stdlib.h>
11 #include <string.h>
13 void get_label(int label, char **buffer_label)
15 int buffer_size = (80 * sizeof(char));
16 char *buffer = malloc(buffer_size);
17 *buffer_label = buffer;
19 switch (label) {
20 case 0x01:
21 strlcpy(buffer, "DOS 12-bit fat", buffer_size);
22 break;
23 case 0x02:
24 strlcpy(buffer, "XENIX root", buffer_size);
25 break;
26 case 0x03:
27 strlcpy(buffer, "XENIX /usr", buffer_size);
28 break;
29 case 0x04:
30 strlcpy(buffer, "DOS 3.0+ 16-bit FAT (up to 32M)", buffer_size);
31 break;
32 case 0x05:
33 strlcpy(buffer, "DOS 3.3+ Extended Partition", buffer_size);
34 break;
35 case 0x06:
36 strlcpy(buffer, "DOS 3.31+ 16-bit FAT (over 32M)", buffer_size);
37 break;
38 case 0x07:
39 strlcpy(buffer, "OS/2 IFS (e.g., HPFS)", buffer_size);
40 break;
41 //case 0x07: strlcpy(buffer, "Advanced Unix", buffer_size); break;
42 //case 0x07: strlcpy(buffer, "Windows NT NTFS", buffer_size); break;
43 //case 0x07: strlcpy(buffer, "QNX2.x (pre-1988)", buffer_size); break;
44 case 0x08:
45 strlcpy(buffer, "OS/2 (v1.0-1.3 only)", buffer_size);
46 break;
47 //case 0x08: strlcpy(buffer, "AIX boot partition", buffer_size); break;
48 //case 0x08: strlcpy(buffer, "SplitDrive", buffer_size); break;
49 //case 0x08: strlcpy(buffer, "DELL partition spanning multiple drives", buffer_size); break;
50 //case 0x08: strlcpy(buffer, "Commodore DOS", buffer_size); break;
51 //case 0x08: strlcpy(buffer, "QNX 1.x and 2.x ("qny")", buffer_size); break;
52 case 0x09:
53 strlcpy(buffer, "AIX data partition", buffer_size);
54 break;
55 //case 0x09: strlcpy(buffer, "Coherent filesystem", buffer_size); break;
56 //case 0x09: strlcpy(buffer, "QNX 1.x and 2.x ("qnz")", buffer_size); break;
57 case 0x0a:
58 strlcpy(buffer, "OS/2 Boot Manager", buffer_size);
59 break;
60 //case 0x0a: strlcpy(buffer, "Coherent swap partition", buffer_size); break;
61 //case 0x0a: strlcpy(buffer, "OPUS", buffer_size); break;
62 case 0x0b:
63 strlcpy(buffer, "WIN95 OSR2 32-bit FAT", buffer_size);
64 break;
65 case 0x0c:
66 strlcpy(buffer, "WIN95 OSR2 32-bit FAT, LBA-mapped", buffer_size);
67 break;
68 case 0x0e:
69 strlcpy(buffer, "WIN95: DOS 16-bit FAT, LBA-mapped", buffer_size);
70 break;
71 case 0x0f:
72 strlcpy(buffer, "WIN95: Extended partition, LBA-mapped", buffer_size);
73 break;
74 case 0x10:
75 strlcpy(buffer, "OPUS (?)", buffer_size);
76 break;
77 case 0x11:
78 strlcpy(buffer, "Hidden DOS 12-bit FAT", buffer_size);
79 break;
80 case 0x12:
81 strlcpy(buffer, "Compaq config partition", buffer_size);
82 break;
83 case 0x14:
84 strlcpy(buffer, "Hidden DOS 16-bit FAT <32M", buffer_size);
85 break;
86 case 0x16:
87 strlcpy(buffer, "Hidden DOS 16-bit FAT >=32M", buffer_size);
88 break;
89 case 0x17:
90 strlcpy(buffer, "Hidden IFS (e.g., HPFS)", buffer_size);
91 break;
92 case 0x18:
93 strlcpy(buffer, "AST SmartSleep Partition", buffer_size);
94 break;
95 case 0x19:
96 strlcpy(buffer, "Unused (Claimed for Willowtech Photon COS)",
97 buffer_size);
98 break;
99 case 0x1b:
100 strlcpy(buffer, "Hidden WIN95 OSR2 32-bit FAT", buffer_size);
101 break;
102 case 0x1c:
103 strlcpy(buffer, "Hidden WIN95 OSR2 32-bit FAT, LBA-mapped",
104 buffer_size);
105 break;
106 case 0x1e:
107 strlcpy(buffer, "Hidden WIN95 16-bit FAT, LBA-mapped", buffer_size);
108 break;
109 case 0x20:
110 strlcpy(buffer, "Unused", buffer_size);
111 break;
112 case 0x21:
113 strlcpy(buffer, "Reserved", buffer_size);
114 break;
115 //case 0x21: strlcpy(buffer, "Unused", buffer_size); break;
116 case 0x22:
117 strlcpy(buffer, "Unused", buffer_size);
118 break;
119 case 0x23:
120 strlcpy(buffer, "Reserved", buffer_size);
121 break;
122 case 0x24:
123 strlcpy(buffer, "NEC DOS 3.x", buffer_size);
124 break;
125 case 0x26:
126 strlcpy(buffer, "Reserved", buffer_size);
127 break;
128 case 0x31:
129 strlcpy(buffer, "Reserved", buffer_size);
130 break;
131 case 0x32:
132 strlcpy(buffer, "NOS", buffer_size);
133 break;
134 case 0x33:
135 strlcpy(buffer, "Reserved", buffer_size);
136 break;
137 case 0x34:
138 strlcpy(buffer, "Reserved", buffer_size);
139 break;
140 case 0x35:
141 strlcpy(buffer, "JFS on OS/2 or eCS", buffer_size);
142 break;
143 case 0x36:
144 strlcpy(buffer, "Reserved", buffer_size);
145 break;
146 case 0x38:
147 strlcpy(buffer, "THEOS ver 3.2 2gb partition", buffer_size);
148 break;
149 case 0x39:
150 strlcpy(buffer, "Plan 9 partition", buffer_size);
151 break;
152 //case 0x39: strlcpy(buffer, "THEOS ver 4 spanned partition", buffer_size); break;
153 case 0x3a:
154 strlcpy(buffer, "THEOS ver 4 4gb partition", buffer_size);
155 break;
156 case 0x3b:
157 strlcpy(buffer, "THEOS ver 4 extended partition", buffer_size);
158 break;
159 case 0x3c:
160 strlcpy(buffer, "PartitionMagic recovery partition", buffer_size);
161 break;
162 case 0x3d:
163 strlcpy(buffer, "Hidden NetWare", buffer_size);
164 break;
165 case 0x40:
166 strlcpy(buffer, "Venix 80286", buffer_size);
167 break;
168 case 0x41:
169 strlcpy(buffer, "Linux/MINIX (sharing disk with DRDOS)", buffer_size);
170 break;
171 //case 0x41: strlcpy(buffer, "Personal RISC Boot", buffer_size); break;
172 //case 0x41: strlcpy(buffer, "PPC PReP (Power PC Reference Platform) Boot", buffer_size); break;
173 case 0x42:
174 strlcpy(buffer, "Linux swap (sharing disk with DRDOS)", buffer_size);
175 break;
176 //case 0x42: strlcpy(buffer, "SFS (Secure Filesystem)", buffer_size); break;
177 //case 0x42: strlcpy(buffer, "Windows 2000 marker", buffer_size); break;
178 case 0x43:
179 strlcpy(buffer, "Linux native (sharing disk with DRDOS)", buffer_size);
180 break;
181 case 0x44:
182 strlcpy(buffer, "GoBack partition", buffer_size);
183 break;
184 case 0x45:
185 strlcpy(buffer, "Boot-US boot manager", buffer_size);
186 break;
187 //case 0x45: strlcpy(buffer, "Priam", buffer_size); break;
188 //case 0x45: strlcpy(buffer, "EUMEL/Elan", buffer_size); break;
189 case 0x46:
190 strlcpy(buffer, "EUMEL/Elan", buffer_size);
191 break;
192 case 0x47:
193 strlcpy(buffer, "EUMEL/Elan", buffer_size);
194 break;
195 case 0x48:
196 strlcpy(buffer, "EUMEL/Elan", buffer_size);
197 break;
198 case 0x4a:
199 strlcpy(buffer, "AdaOS Aquila (Default)", buffer_size);
200 break;
201 //case 0x4a: strlcpy(buffer, "ALFS/THIN lightweight filesystem for DOS", buffer_size); break;
202 case 0x4c:
203 strlcpy(buffer, "Oberon partition", buffer_size);
204 break;
205 case 0x4d:
206 strlcpy(buffer, "QNX4.x", buffer_size);
207 break;
208 case 0x4e:
209 strlcpy(buffer, "QNX4.x 2nd part", buffer_size);
210 break;
211 case 0x4f:
212 strlcpy(buffer, "QNX4.x 3rd part", buffer_size);
213 break;
214 //case 0x4f: strlcpy(buffer, "Oberon partition", buffer_size); break;
215 case 0x50:
216 strlcpy(buffer, "OnTrack Disk Manager (older versions) RO",
217 buffer_size);
218 break;
219 //case 0x50: strlcpy(buffer, "Lynx RTOS", buffer_size); break;
220 //case 0x50: strlcpy(buffer, "Native Oberon (alt)", buffer_size); break;
221 case 0x51:
222 strlcpy(buffer, "OnTrack Disk Manager RW (DM6 Aux1)", buffer_size);
223 break;
224 //case 0x51: strlcpy(buffer, "Novell", buffer_size); break;
225 case 0x52:
226 strlcpy(buffer, "CP/M", buffer_size);
227 break;
228 //case 0x52: strlcpy(buffer, "Microport SysV/AT", buffer_size); break;
229 case 0x53:
230 strlcpy(buffer, "Disk Manager 6.0 Aux3", buffer_size);
231 break;
232 case 0x54:
233 strlcpy(buffer, "Disk Manager 6.0 Dynamic Drive Overlay", buffer_size);
234 break;
235 case 0x55:
236 strlcpy(buffer, "EZ-Drive", buffer_size);
237 break;
238 case 0x56:
239 strlcpy(buffer, "Golden Bow VFeature Partitioned Volume.", buffer_size);
240 break;
241 //case 0x56: strlcpy(buffer, "DM converted to EZ-BIOS", buffer_size); break;
242 case 0x57:
243 strlcpy(buffer, "DrivePro", buffer_size);
244 break;
245 //case 0x57: strlcpy(buffer, "VNDI Partition", buffer_size); break;
246 case 0x5c:
247 strlcpy(buffer, "Priam EDisk", buffer_size);
248 break;
249 case 0x61:
250 strlcpy(buffer, "SpeedStor", buffer_size);
251 break;
252 case 0x63:
253 strlcpy(buffer,
254 "Unix System V (SCO, ISC Unix, UnixWare, ...), Mach, GNU Hurd",
255 buffer_size);
256 break;
257 case 0x64:
258 strlcpy(buffer, "PC-ARMOUR protected partition", buffer_size);
259 break;
260 //case 0x64: strlcpy(buffer, "Novell Netware 286, 2.xx", buffer_size); break;
261 case 0x65:
262 strlcpy(buffer, "Novell Netware 386, 3.xx or 4.xx", buffer_size);
263 break;
264 case 0x66:
265 strlcpy(buffer, "Novell Netware SMS Partition", buffer_size);
266 break;
267 case 0x67:
268 strlcpy(buffer, "Novell", buffer_size);
269 break;
270 case 0x68:
271 strlcpy(buffer, "Novell", buffer_size);
272 break;
273 case 0x69:
274 strlcpy(buffer, "Novell Netware 5+, Novell Netware NSS Partition",
275 buffer_size);
276 break;
277 case 0x70:
278 strlcpy(buffer, "DiskSecure Multi-Boot", buffer_size);
279 break;
280 case 0x71:
281 strlcpy(buffer, "Reserved", buffer_size);
282 break;
283 case 0x73:
284 strlcpy(buffer, "Reserved", buffer_size);
285 break;
286 case 0x74:
287 strlcpy(buffer, "Reserved", buffer_size);
288 break;
289 //case 0x74: strlcpy(buffer, "Scramdisk partition", buffer_size); break;
290 case 0x75:
291 strlcpy(buffer, "IBM PC/IX", buffer_size);
292 break;
293 case 0x76:
294 strlcpy(buffer, "Reserved", buffer_size);
295 break;
296 case 0x77:
297 strlcpy(buffer, "M2FS/M2CS partition", buffer_size);
298 break;
299 //case 0x77: strlcpy(buffer, "VNDI Partition", buffer_size); break;
300 case 0x78:
301 strlcpy(buffer, "XOSL FS", buffer_size);
302 break;
303 case 0x7E:
304 strlcpy(buffer, " ", buffer_size);
305 break;
306 case 0x80:
307 strlcpy(buffer, "MINIX until 1.4a", buffer_size);
308 break;
309 case 0x81:
310 strlcpy(buffer, "MINIX since 1.4b, early Linux", buffer_size);
311 break;
312 //case 0x81: strlcpy(buffer, "Mitac disk manager", buffer_size); break;
313 //case 0x82: strlcpy(buffer, "Prime", buffer_size); break;
314 //case 0x82: strlcpy(buffer, "Solaris x86", buffer_size); break;
315 case 0x82:
316 strlcpy(buffer, "Linux swap", buffer_size);
317 break;
318 case 0x83:
319 strlcpy(buffer, "Linux native (usually ext2fs)", buffer_size);
320 break;
321 case 0x84:
322 strlcpy(buffer, "OS/2 hidden C: drive", buffer_size);
323 break;
324 //case 0x84: strlcpy(buffer, "Hibernation partition", buffer_size); break;
325 case 0x85:
326 strlcpy(buffer, "Linux extended partition", buffer_size);
327 break;
328 //case 0x86: strlcpy(buffer, "Old Linux RAID partition superblock", buffer_size); break;
329 case 0x86:
330 strlcpy(buffer, "NTFS volume set", buffer_size);
331 break;
332 case 0x87:
333 strlcpy(buffer, "NTFS volume set", buffer_size);
334 break;
335 case 0x8a:
336 strlcpy(buffer, "Linux Kernel Partition (used by AiR-BOOT)",
337 buffer_size);
338 break;
339 case 0x8b:
340 strlcpy(buffer, "Legacy Fault Tolerant FAT32 volume", buffer_size);
341 break;
342 case 0x8c:
343 strlcpy(buffer,
344 "Legacy Fault Tolerant FAT32 volume using BIOS extd INT 13h",
345 buffer_size);
346 break;
347 case 0x8d:
348 strlcpy(buffer, "Free FDISK hidden Primary DOS FAT12 partitition",
349 buffer_size);
350 break;
351 case 0x8e:
352 strlcpy(buffer, "Linux Logical Volume Manager partition", buffer_size);
353 break;
354 case 0x90:
355 strlcpy(buffer, "Free FDISK hidden Primary DOS FAT16 partitition",
356 buffer_size);
357 break;
358 case 0x91:
359 strlcpy(buffer, "Free FDISK hidden DOS extended partitition",
360 buffer_size);
361 break;
362 case 0x92:
363 strlcpy(buffer, "Free FDISK hidden Primary DOS large FAT16 partitition",
364 buffer_size);
365 break;
366 case 0x93:
367 strlcpy(buffer, "Hidden Linux native partition", buffer_size);
368 break;
369 //case 0x93: strlcpy(buffer, "Amoeba", buffer_size); break;
370 case 0x94:
371 strlcpy(buffer, "Amoeba bad block table", buffer_size);
372 break;
373 case 0x95:
374 strlcpy(buffer, "MIT EXOPC native partitions", buffer_size);
375 break;
376 case 0x97:
377 strlcpy(buffer, "Free FDISK hidden Primary DOS FAT32 partitition",
378 buffer_size);
379 break;
380 case 0x98:
381 strlcpy(buffer, "Free FDISK hidden Primary DOS FAT32 partitition (LBA)",
382 buffer_size);
383 break;
384 case 0x99:
385 strlcpy(buffer, "DCE376 logical drive", buffer_size);
386 break;
387 case 0x9a:
388 strlcpy(buffer, "Free FDISK hidden Primary DOS FAT16 partitition (LBA)",
389 buffer_size);
390 break;
391 case 0x9b:
392 strlcpy(buffer, "Free FDISK hidden DOS extended partitition (LBA)",
393 buffer_size);
394 break;
395 case 0x9f:
396 strlcpy(buffer, "BSD/OS", buffer_size);
397 break;
398 case 0xa0:
399 strlcpy(buffer, "Laptop hibernation partition", buffer_size);
400 break;
401 case 0xa1:
402 strlcpy(buffer, "Laptop hibernation partition", buffer_size);
403 break;
404 //case 0xa1: strlcpy(buffer, "HP Volume Expansion (SpeedStor variant)", buffer_size); break;
405 case 0xa3:
406 strlcpy(buffer, "Reserved", buffer_size);
407 break;
408 case 0xa4:
409 strlcpy(buffer, "Reserved", buffer_size);
410 break;
411 case 0xa5:
412 strlcpy(buffer, "BSD/386, 386BSD, NetBSD, FreeBSD", buffer_size);
413 break;
414 case 0xa6:
415 strlcpy(buffer, "OpenBSD", buffer_size);
416 break;
417 case 0xa7:
418 strlcpy(buffer, "NEXTSTEP", buffer_size);
419 break;
420 case 0xa8:
421 strlcpy(buffer, "Mac OS-X", buffer_size);
422 break;
423 case 0xa9:
424 strlcpy(buffer, "NetBSD", buffer_size);
425 break;
426 case 0xaa:
427 strlcpy(buffer, "Olivetti Fat 12 1.44Mb Service Partition",
428 buffer_size);
429 break;
430 case 0xab:
431 strlcpy(buffer, "Mac OS-X Boot partition", buffer_size);
432 break;
433 //case 0xab: strlcpy(buffer, "GO! partition", buffer_size); break;
434 case 0xae:
435 strlcpy(buffer, "ShagOS filesystem", buffer_size);
436 break;
437 case 0xaf:
438 strlcpy(buffer, "ShagOS swap partition", buffer_size);
439 break;
440 case 0xb0:
441 strlcpy(buffer, "BootStar Dummy", buffer_size);
442 break;
443 case 0xb1:
444 strlcpy(buffer, "Reserved", buffer_size);
445 break;
446 case 0xb3:
447 strlcpy(buffer, "Reserved", buffer_size);
448 break;
449 case 0xb4:
450 strlcpy(buffer, "Reserved", buffer_size);
451 break;
452 case 0xb6:
453 strlcpy(buffer, "Reserved", buffer_size);
454 break;
455 case 0xb7:
456 strlcpy(buffer, "BSDI BSD/386 filesystem", buffer_size);
457 break;
458 case 0xb8:
459 strlcpy(buffer, "BSDI BSD/386 swap partition", buffer_size);
460 break;
461 case 0xbb:
462 strlcpy(buffer, "Boot Wizard hidden", buffer_size);
463 break;
464 case 0xbe:
465 strlcpy(buffer, "Solaris 8 boot partition", buffer_size);
466 break;
467 case 0xc0:
468 strlcpy(buffer, "CTOS", buffer_size);
469 break;
470 //case 0xc0: strlcpy(buffer, "REAL/32 secure small partition", buffer_size); break;
471 //case 0xc0: strlcpy(buffer, "NTFT Partition", buffer_size); break;
472 case 0xc1:
473 strlcpy(buffer, "DRDOS/secured (FAT-12)", buffer_size);
474 break;
475 case 0xc2:
476 strlcpy(buffer, "Reserved for DR-DOS 7+", buffer_size);
477 break;
478 //case 0xc2: strlcpy(buffer, "Hidden Linux", buffer_size); break;
479 case 0xc3:
480 strlcpy(buffer, "Hidden Linux swap", buffer_size);
481 break;
482 case 0xc4:
483 strlcpy(buffer, "DRDOS/secured (FAT-16, < 32M)", buffer_size);
484 break;
485 case 0xc5:
486 strlcpy(buffer, "DRDOS/secured (extended)", buffer_size);
487 break;
488 case 0xc6:
489 strlcpy(buffer, "DRDOS/secured (FAT-16, >= 32M)", buffer_size);
490 break;
491 //case 0xc6: strlcpy(buffer, "Windows NT corrupted FAT16 volume/stripe set", buffer_size); break;
492 case 0xc7:
493 strlcpy(buffer, "Windows NT corrupted NTFS volume/stripe set",
494 buffer_size);
495 break;
496 //case 0xc7: strlcpy(buffer, "Syrinx boot", buffer_size); break;
497 case 0xc8:
498 strlcpy(buffer, "(See also ID c2.)", buffer_size);
499 break;
500 case 0xc9:
501 strlcpy(buffer, "(See also ID c2.)", buffer_size);
502 break;
503 case 0xca:
504 strlcpy(buffer, "(See also ID c2.)", buffer_size);
505 break;
506 case 0xcb:
507 strlcpy(buffer, "reserved for DRDOS/secured (FAT32)", buffer_size);
508 break;
509 case 0xcc:
510 strlcpy(buffer, "reserved for DRDOS/secured (FAT32, LBA)", buffer_size);
511 break;
512 case 0xcd:
513 strlcpy(buffer, "CTOS Memdump?", buffer_size);
514 break;
515 case 0xce:
516 strlcpy(buffer, "reserved for DRDOS/secured (FAT16, LBA)", buffer_size);
517 break;
518 case 0xd0:
519 strlcpy(buffer, "REAL/32 secure big partition", buffer_size);
520 break;
521 case 0xd1:
522 strlcpy(buffer, "Old Multiuser DOS secured FAT12", buffer_size);
523 break;
524 case 0xd4:
525 strlcpy(buffer, "Old Multiuser DOS secured FAT16 <32M", buffer_size);
526 break;
527 case 0xd5:
528 strlcpy(buffer, "Old Multiuser DOS secured extended partition",
529 buffer_size);
530 break;
531 case 0xd6:
532 strlcpy(buffer, "Old Multiuser DOS secured FAT16 >=32M", buffer_size);
533 break;
534 case 0xd8:
535 strlcpy(buffer, "CP/M-86", buffer_size);
536 break;
537 case 0xda:
538 strlcpy(buffer, "Non-FS Data", buffer_size);
539 break;
540 case 0xdb:
541 strlcpy(buffer,
542 "Digital Research CP/M, Concurrent CP/M, Concurrent DOS",
543 buffer_size);
544 break;
545 //case 0xdb: strlcpy(buffer, "CTOS (Convergent Technologies OS -Unisys)", buffer_size); break;
546 //case 0xdb: strlcpy(buffer, "KDG Telemetry SCPU boot", buffer_size); break;
547 case 0xdd:
548 strlcpy(buffer, "Hidden CTOS Memdump?", buffer_size);
549 break;
550 case 0xde:
551 strlcpy(buffer, "Dell PowerEdge Server utilities (FAT fs)",
552 buffer_size);
553 break;
554 case 0xdf:
555 strlcpy(buffer, "DG/UX virtual disk manager partition", buffer_size);
556 break;
557 //case 0xdf: strlcpy(buffer, "BootIt EMBRM", buffer_size); break;
558 case 0xe0:
559 strlcpy(buffer,
560 "Reserved by STMicroelectronics for a filesystem called ST AVFS.",
561 buffer_size);
562 break;
563 case 0xe1:
564 strlcpy(buffer, "DOS access or SpeedStor 12-bit FAT extended partition",
565 buffer_size);
566 break;
567 case 0xe3:
568 strlcpy(buffer, "DOS R/O or SpeedStor", buffer_size);
569 break;
570 case 0xe4:
571 strlcpy(buffer, "SpeedStor 16-bit FAT extended partition < 1024 cyl.",
572 buffer_size);
573 break;
574 case 0xe5:
575 strlcpy(buffer,
576 "Tandy DOS with logical sectored FAT (According to Powerquest.)",
577 buffer_size);
578 break;
579 //case 0xe5: strlcpy(buffer, "Reserved", buffer_size); break;
580 case 0xe6:
581 strlcpy(buffer, "Reserved", buffer_size);
582 break;
583 case 0xeb:
584 strlcpy(buffer, "BFS (aka BeFS)", buffer_size);
585 break;
586 case 0xed:
587 strlcpy(buffer, "Reserved for Matthias Paul's Sprytix", buffer_size);
588 break;
589 case 0xee:
590 strlcpy(buffer,
591 "Indication that this legacy MBR is followed by an EFI header",
592 buffer_size);
593 break;
594 case 0xef:
595 strlcpy(buffer, "Partition that contains an EFI file system",
596 buffer_size);
597 break;
598 case 0xf0:
599 strlcpy(buffer, "Linux/PA-RISC boot loader", buffer_size);
600 break;
601 case 0xf1:
602 strlcpy(buffer, "SpeedStor", buffer_size);
603 break;
604 case 0xf2:
605 strlcpy(buffer,
606 "DOS 3.3+ secondary partition (Powerquest writes: Unisys DOS with logical sectored FAT.)",
607 buffer_size);
608 break;
609 case 0xf3:
610 strlcpy(buffer,
611 "Reserved (Powerquest writes: Storage Dimensions SpeedStor.)",
612 buffer_size);
613 break;
614 case 0xf4:
615 strlcpy(buffer, "SpeedStor large partition", buffer_size);
616 break;
617 //case 0xf4: strlcpy(buffer, "Prologue single-volume partition", buffer_size); break;
618 case 0xf5:
619 strlcpy(buffer, "Prologue multi-volume partition", buffer_size);
620 break;
621 case 0xf6:
622 strlcpy(buffer,
623 "Reserved (Powerquest writes: Storage Dimensions SpeedStor. )",
624 buffer_size);
625 break;
626 case 0xfa:
627 strlcpy(buffer, "Bochs", buffer_size);
628 break;
629 case 0xfb:
630 strlcpy(buffer, "VMware File System partition", buffer_size);
631 break;
632 case 0xfc:
633 strlcpy(buffer, "VMware Swap partition", buffer_size);
634 break;
635 case 0xfd:
636 strlcpy(buffer,
637 "Linux raid partition with autodetect using persistent superblock (Powerquest writes: Reserved for FreeDOS. )",
638 buffer_size);
639 break;
640 case 0xfe:
641 strlcpy(buffer, "SpeedStor > 1024 cyl.", buffer_size);
642 break;
643 //case 0xfe: strlcpy(buffer, "LANstep", buffer_size); break;
644 //case 0xfe: strlcpy(buffer, "IBM PS/2 IML (Initial Microcode Load) partition, located at the end of the disk.", buffer_size); break;
645 //case 0xfe: strlcpy(buffer, "Windows NT Disk Administrator hidden partition", buffer_size); break;
646 //case 0xfe: strlcpy(buffer, "Linux Logical Volume Manager partition (old)", buffer_size); break;
647 case 0xff:
648 strlcpy(buffer, "Xenix Bad Block Table ", buffer_size);
649 break;
650 default:
651 strlcpy(buffer, "Unknown", buffer_size);
652 break;