1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/src/sys_types.h

145 lines
4.2 KiB
C
Raw Normal View History

/*
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 3 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
*/
#ifndef SYS_TYPES_H_INCLUDED
#define SYS_TYPES_H_INCLUDED
typedef struct {
unsigned char type;
const char *name;
} SysType;
#define N_(String) String
/* The system types for msdos partition tables
* Needed for lfdisk and some interface improvements
*/
SysType msdos_systypes[] = {
{ 0x00, N_("Empty") },
{ 0x01, N_("FAT12") },
{ 0x02, N_("XENIX root") },
{ 0x03, N_("XENIX usr") },
{ 0x04, N_("Small FAT16") },
{ 0x05, N_("Extended") },
{ 0x06, N_("FAT16") },
{ 0x07, N_("NTFS") },
{ 0x08, N_("AIX") },
{ 0x09, N_("AIX Bootable") },
{ 0x0a, N_("OS/2 Boot Manager") },
{ 0x0b, N_("FAT32") },
{ 0x0c, N_("FAT32 LBA") },
{ 0x0e, N_("FAT16 LBA") },
{ 0x0f, N_("Extended LBA") },
{ 0x10, N_("OPUS") },
{ 0x11, N_("Hidden FAT12") },
{ 0x12, N_("Compaq Diagnostics") },
{ 0x14, N_("Hidden Small FAT16") },
{ 0x16, N_("Hidden FAT16") },
{ 0x17, N_("Hidden NTFS") },
{ 0x18, N_("AST SmartSleep") },
{ 0x1b, N_("Hidden FAT32") },
{ 0x1c, N_("Hidden FAT32 LBA") },
{ 0x1e, N_("Hidden FAT16 LBA") },
{ 0x24, N_("NEC DOS") },
{ 0x27, N_("Hidden NTFS WinRE") },
{ 0x39, N_("Plan 9") },
{ 0x3c, N_("PMagic recovery") },
{ 0x40, N_("Venix 80286") },
{ 0x41, N_("PPC PReP Boot") },
{ 0x42, N_("SFS") },
{ 0x4d, N_("QNX4.x") },
{ 0x4e, N_("QNX4.x 2nd Partition") },
{ 0x4f, N_("QNX4.x 3rd Partition") },
{ 0x50, N_("OnTrack DM") },
{ 0x51, N_("OnTrackDM6 Aux1") },
{ 0x52, N_("CP/M") },
{ 0x53, N_("OnTrackDM6 Aux3") },
{ 0x54, N_("OnTrack DM6") },
{ 0x55, N_("EZ Drive") },
{ 0x56, N_("Golden Bow") },
{ 0x5c, N_("Priam Edisk") },
{ 0x61, N_("SpeedStor") },
{ 0x63, N_("GNU HURD/SysV") },
{ 0x64, N_("Netware 286") },
{ 0x65, N_("Netware 386") },
{ 0x70, N_("DiskSec MultiBoot") },
{ 0x75, N_("PC/IX") },
{ 0x80, N_("Minix <1.4a") },
{ 0x81, N_("Minix >1.4b") },
{ 0x82, N_("Linux Swap") },
{ 0x83, N_("Linux") },
{ 0x84, N_("OS/2 Hidden C:") },
{ 0x85, N_("Linux Extended") },
{ 0x86, N_("NTFS Volume Set") },
{ 0x87, N_("NTFS Volume Set") },
{ 0x88, N_("Linux Plaintext") },
{ 0x8e, N_("Linux LVM") },
{ 0x93, N_("Amoeba") },
/*This guys created a seperate partition for badblocks?! */
{ 0x94, N_("Amoeba BBT") },
{ 0x9f, N_("BSD/OS") },
{ 0xa0, N_("Thinkpad Hibernation") },
{ 0xa5, N_("FreeBSD") },
{ 0xa6, N_("OpenBSD") },
{ 0xa7, N_("NeXTSTEP") },
{ 0xa8, N_("Darwin UFS") },
{ 0xa9, N_("NetBSD") },
{ 0xab, N_("Darwin Boot") },
{ 0xaf, N_("HFS/HFS+") },
{ 0xb7, N_("BSDI") },
{ 0xb8, N_("BSDI Swap") },
/* Beware of the Hidden wizard */
{ 0xbb, N_("Boot Wizard Hidden") },
{ 0xbe, N_("Solaris Boot") },
{ 0xbf, N_("Solaris") },
{ 0xc1, N_("DRDOS/2 FAT12") },
{ 0xc4, N_("DRDOS/2 smFAT16") },
{ 0xc6, N_("DRDOS/2 FAT16") },
/* Reminds me of Rush - 2112 */
{ 0xc7, N_("Syrinx") },
{ 0xda, N_("Non-FS Data") },
{ 0xdb, N_("CP/M") },
{ 0xde, N_("Dell Utility") },
/* Should 0x20 be DontBootIt then? */
{ 0xdf, N_("BootIt") },
{ 0xe1, N_("DOS Access") },
{ 0xe3, N_("DOS R/O") },
/*I sense some strange déjà vu */
{ 0xe4, N_("SpeedStor") },
{ 0xfb, N_("VMware VMFS") },
{ 0xfc, N_("VMware VMKCORE") },
{ 0xeb, N_("BeOS") },
{ 0xee, N_("GPT") },
{ 0xef, N_("EFI FAT") },
{ 0xf0, N_("Linux/PA-RISC Boot") },
{ 0xf1, N_("SpeedStor") },
{ 0xf2, N_("DOS secondary") },
/* Are these guys trying for a Guinness record or something? */
{ 0xf4, N_("SpeedStor") },
{ 0xfd, N_("Linux RAID Auto") },
{ 0xfe, N_("LANstep") },
{ 0xff, N_("XENIX BBT") },
{ 0, NULL }
};
#endif