⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 partition.h

📁 DVB软件,基于CT216软件的开发源程序.
💻 H
字号:
/*****************************************************************************\
*              efs - General purpose Embedded Filesystem library              *
*          ---------------------------------------------------------          *
*                                                                             *
* Filename : partition.h                                                      *
* Description : Headerfile for partition.c                                    *
*                                                                             *
* This library is free software; you can redistribute it and/or               *
* modify it under the terms of the GNU Lesser General Public                  *
* License as published by the Free Software Foundation; either                *
* version 2.1 of the License, or (at your option) any later version.          *
*                                                                             *
* This library 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           *
* Lesser General Public License for more details.                             *
*                                                                             *
*                                                    (c)2004 Lennart Yseboodt *
*                                                    (c)2004 Michael De Nil   *
\*****************************************************************************/

#ifndef __PARTITION_H__
#define __PARTITION_H__

/*****************************************************************************/
#include "config.h"
#include "error.h"
#include "interface.h"
#include "disc.h"
#include "types.h"
/*****************************************************************************/
/*
Yan/K200, 2008/02/14
refer http://www.vsft.com/hal/mbr.htm#os%20indicators

Operating System Indicators   

0x00  	Empty partition-table entry
0x01 	DOS FAT12
0x02 	XENIX  /root file system
0x03 	XENIX  /usr file system
0x04 	DOS FAT16 (up to 32 MB)
0x05 	DOS 3.3+ extended partition
0x06 	DOS 3.31+ FAT16 (over 32 MB)
0x07 	OS/2 HPFS, Windows NT NTFS, Advanced Unix
0x08 	OS/2 v1.0-1.3, AIX bootable partition, SplitDrive
0x09 	AIX data partition
0x0A 	OS/2 Boot Manager
0x0B 	Windows 95+ FAT32
0x0C 	Windows 95+ FAT32 (using LBA-mode INT 13 extensions)
0x0E 	DOS FAT16 (over 32 MB, using INT 13 extensions)
0x0F 	Extended partition (using INT 13 extensions)
0x11 	Hidden FAT-12
0x12 	COMPAQ configuration partition
0x14 	Hidden FAT-16 (up to 32MB)
0x16 	Hidden FAT-16, 'BigDOS' (over 32MB)
0x17 	Hidden NTFS partition
0x18 	AST Windows swapfile
0x1B 	Hidden Windows 95 FAT32 partition
0x1C 	Hidden Windows 95 FAT32 partition (using LBA-mode INT 13 extensions)
0x1E 	Hidden LBA VFAT partition
0x24 	NEC DOS 3.x
0x35 	OS/2 JFS
0x38 	THEOS ver.3 2gb partition
0x39 	Plan 9; THEOS V4 spanned partition
0x3A 	THEOS V4 4gb partition
0x3B 	THEOS V4 extended partition
0x3C 	PartitionMagic recovery partition
0x3D 	Hidden Novell Netware
0x40 	Venix 286
0x41 	Linux/Minix (sharing disk with DRDOS); Power PC Reference platform boot; Personal RISC boot
0x42 	LINUX swap (sharing disk with DRDOS); Secure File System
0x43 	LINUX native (sharing disk with DRDOS)
0x45 	Boot-US Boot Manager; Priam
0x4C 	Oberon 		
0x4D 	QNX 4.2 Primary 		
0x4E 	QNX 4.2 Secondary 		
0x4F 	QNX 4.2 Tertiary; Oberon 		
0x50 	OnTrack Disk Manager; Lynx RTOS; Oberon, read-only partition 		
0x51 	OnTrack Disk Manager; Novell Netware 		
0x52 	CP/M; Microport SysV/AT 		
0x53 	Disk Manager 6.0 		
0x54 	Disk Manager 6.0 Dynamic Drive Overlay 		
0x55 	EZ-Drive 		
0x56 	Golden Bow VFeature 		
0x57 	DrivePro 		
0x5C 	Priam EDisk
0x61 	SpeedStor
0x63 	UNIX System V (SCO, ISC Unix, UnixWare, ...); Mach; GNU Hurd
0x64 	PC-ARMOUR; Novell Netware 2.xx
0x65 	Novell Netware 3.xx or 4.xx
0x66 	Novell Netware
0x67 	Novell Netware
0x68 	Novell Netware
0x69 	Novell Netware
0x70 	DiskSecure Multi-Boot
0x74 	Scramdisk
0x75 	PC/IX
0x78 	XOSL multiboot loader
0x80 	Minix 1.1 ... 1.4a
0x81 	Linux partition
0x82 	Linux Swap partition, Solaris (Unix)
0x83 	Linux native file system (ext2fs/xiafs)
0x84 	OS/2 hidden partition; hibernation partition
0x85 	Linux EXT
0x86 	FAT16 volume/stripe set (Windows NT)
0x87 	HPFS fault-tolerant mirrored partition, NTFS volume/stripe set
0x8B 	NT FAT-32 (up to 2048GB) volume set
0x8C 	NT FAT-32 (up to 2048GB) LBA volume set
0x8E 	Linux Logical Volume Manager partition
0x93 	Amoeba file system; hidden Linux file system
0x94 	Amoeba bad block table
0x9F 	BSD/OS
0xA0 	Hibernation partition
0xA1 	Hibernation partition
0xA5 	BSD/386; FreeBSD/NetBSD/386BSD
0xA6 	OpenBSD
0xA7 	NextStep
0xA9 	NetBSD
0xAA 	Olivetti FAT-12 service partition
0xB7 	BSDI BSD/386 file system
0xB8 	BSDI BSD/386 swap
0xBE 	Solaris boot partition
0xC0 	DR-DOS/Novell DOS secured partition
0xC1 	DRDOS/secured (FAT-12)
0xC6 	Corrupted FAT16 volume/stripe set (Windows NT)
0xC7 	Corrupted NTFS volume/stripe set
0xD8 	CP/M-86
0xDB 	CP/M; Concurrent CP/M; Concurrent DOS; CTOS
0xDF 	BootIt
0xE1 	SpeedStor FAT-12 extended
0xE3 	SpeedStor
0xE4 	SpeedStor FAT-16 extended
0xEB 	BeOS
0xF1 	SpeedStor
0xF2 	DOS 3.3+ secondary partition
0xF4 	SpeedStor large partition
0xFB 	VMWare file system
0xFC 	VMWare swap
0xFD 	Linux RAID
0xFE 	PS/2 IML partition; SpeedStor; LANstep
0xFF 	BBT (Bad Blocks Table)
*/


// Yan/K200, 2008/02/14
// 璝

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -