Anonymous avatar Anonymous committed 0f80610

Comments (0)

Files changed (1)

+/*
+    GNU fdisk - a clone of Linux fdisk.
+
+    Copyright (C) 2006
+    Free Software Foundation, Inc.
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+*/
+
+struct systypes {
+	unsigned char type;
+	const char *name;
+};
+
+/* The system types for msdos  partition tables
+ * Needed for lfdisk and some interface improvements
+ */
+struct systypes msdos_systypes[] = {
+	/* TODO: I don't like some of the strings, change them */
+	{ 0x00, "Empty" }, /* "Empty" */
+	{ 0x01, "FAT12" }, 
+	{ 0x02, "XENIX root" }, 
+	{ 0x03, "XENIX usr" }, 
+	{ 0x04, "Small FAT16" }, 
+	{ 0x05, "Extended" }, /* "Extended" */
+	{ 0x06, "FAT16" }, 
+	{ 0x07, "HPFS/NTFS" }, 
+	{ 0x08, "AIX" }, 
+	{ 0x09, "AIX bootable" }, 
+	{ 0x0a, "OS/2 boot mgr" }, 
+	{ 0x0b, "FAT32" }, 
+	{ 0x0c, "FAT32 LBA" }, 
+	{ 0x0e, "FAT16 LBA" }, 
+	{ 0x0f, "Extended LBA" }, 
+	{ 0x10, "OPUS" }, 
+	{ 0x11, "Hidden FAT12" }, 
+	{ 0x12, "Compaq diag" }, 
+	{ 0x14, "Hidd Sm FAT16" }, 
+	{ 0x16, "Hidd FAT16" }, 
+	{ 0x17, "Hidd HPFS/NTFS" }, 
+	{ 0x18, "AST SmartSleep" }, 
+	{ 0x1b, "Hidd FAT32" }, 
+	{ 0x1c, "Hidd FAT32 LBA" }, 
+	{ 0x1e, "Hidd FAT16 LBA" }, 
+	{ 0x24, "NEC DOS" }, 
+	{ 0x39, "Plan 9" }, 
+	{ 0x3c, "PMagic recovery" }, 
+	{ 0x40, "Venix 80286" }, 
+	{ 0x41, "PPC PReP Boot" }, 
+	{ 0x42, "SFS" }, 
+	{ 0x4d, "QNX4.x" }, 
+	{ 0x4e, "QNX4.x 2nd part" }, 
+	{ 0x4f, "QNX4.x 3rd part" }, 
+	{ 0x50, "OnTrack DM" }, 
+	{ 0x51, "OnTrackDM6 Aux1" }, 
+	{ 0x52, "CP/M" }, 
+	{ 0x53, "OnTrackDM6 Aux3" }, 
+	{ 0x54, "OnTrack DM6" }, 
+	{ 0x55, "EZ Drive" }, 
+	{ 0x56, "Golden Bow" }, 
+	{ 0x5c, "Priam Edisk" }, 
+	{ 0x61, "SpeedStor" }, 
+	{ 0x63, "GNU HURD/SysV" }, 
+	{ 0x64, "Netware 286" }, 
+	{ 0x65, "Netware 386" }, 
+	{ 0x70, "DiskSec MltBoot" }, 
+	{ 0x75, "PC/IX" }, 
+	{ 0x80, "Minix <1.4a" }, 
+	{ 0x81, "Minix >1.4b" }, 
+	{ 0x82, "Linux swap" }, 
+	{ 0x83, "Linux" }, 
+	{ 0x84, "OS/2 hidden C:" }, 
+	{ 0x85, "Linux extended" }, 
+	{ 0x86, "NTFS volume set" },
+	{ 0x87, "NTFS volume set" }, 
+	{ 0x88, "Linux plaintext" }, 
+	{ 0x8e, "Linux LVM" }, 
+	{ 0x93, "Amoeba" }, 
+	/*This guys created a seperate partition for badblocks?! */
+	{ 0x94, "Amoeba BBT" },  
+	{ 0x9f, "BSD/OS" }, 
+	{ 0xa0, "Thinkpad hib" }, 
+	{ 0xa5, "FreeBSD" }, 
+	{ 0xa6, "OpenBSD" }, 
+	{ 0xa7, "NeXTSTEP" }, 
+	{ 0xa8, "Darwin UFS" }, 
+	{ 0xa9, "NetBSD" }, 
+	{ 0xab, "Darwin boot" }, 
+	{ 0xb7, "BSDI fs" }, 
+	{ 0xb8, "BSDI swap" }, 
+	/* Beware of the hidden wizard */
+	{ 0xbb, "Boot Wizard Hid" },
+	{ 0xbe, "Solaris boot" }, 
+	{ 0xbf, "Solaris" }, 
+	{ 0xc1, "DRDOS/2 FAT12" }, 
+	{ 0xc4, "DRDOS/2 smFAT16" }, 
+	{ 0xc6, "DRDOS/2 FAT16" }, 
+	/* Reminds me of Rush - 2112 */
+	{ 0xc7, "Syrinx" },  
+	{ 0xda, "Non-FS data" },
+	{ 0xdb, "CP/M / CTOS" }, 
+	{ 0xde, "Dell Utility" }, 
+	/* Should 0x20 be DontBootIt then? */
+	{ 0xdf, "BootIt" },  
+	{ 0xe1, "DOS access" }, 
+	{ 0xe3, "DOS R/O" }, 
+	/*I sense some strange déjà vu */
+	{ 0xe4, "SpeedStor" },  
+	{ 0xeb, "BeOS fs" }, 
+	{ 0xee, "EFI GPT" }, 
+	{ 0xef, "EFI FAT" }, 
+	{ 0xf0, "Lnx/PA-RISC bt" }, 
+	{ 0xf1, "SpeedStor" }, 
+	{ 0xf2, "DOS secondary" }, 
+	/* Are these guys trying for a Guinness record or something? */
+	{ 0xf4, "SpeedStor" },  
+	{ 0xfd, "Lnx RAID auto" }, 
+	{ 0xfe, "LANstep" }, 
+	{ 0xff, "XENIX BBT" },
+	{ 0, NULL }
+};
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.