added exFAT partition type

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40410 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2011-02-09 20:30:00 +00:00
parent e74e90aef9
commit 245df7abd3
5 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class Partition : public Node, public partition_data {
#define kPartitionTypeBFS "BFS Filesystem"
#define kPartitionTypeAmigaFFS "AmigaFFS Filesystem"
#define kPartitionTypeBTRFS "BTRFS Filesystem"
#define kPartitionTypeEXFAT "exFAT Filesystem"
#define kPartitionTypeEXT2 "EXT2 Filesystem"
#define kPartitionTypeEXT3 "EXT3 Filesystem"
#define kPartitionTypeFAT12 "FAT12 Filesystem"

View File

@ -29,6 +29,7 @@ extern const char *kPartitionTypeVMDK;
extern const char *kPartitionTypeAmigaFFS;
extern const char *kPartitionTypeBFS;
extern const char *kPartitionTypeBTRFS;
extern const char *kPartitionTypeEXFAT;
extern const char *kPartitionTypeEXT2;
extern const char *kPartitionTypeEXT3;
extern const char *kPartitionTypeFAT12;

View File

@ -33,6 +33,7 @@
#define AMIGA_FFS_NAME "AmigaFFS File System"
#define BFS_NAME "Be File System"
#define BTRFS_NAME "BTRFS File System"
#define EXFAT_FS_NAME "exFAT File System"
#define EXT2_FS_NAME "EXT2 File System"
#define EXT3_FS_NAME "EXT3 File System"
#define FAT12_FS_NAME "FAT12 File System"

View File

@ -91,6 +91,7 @@ static const struct partition_type kPartitionTypes[] = {
static const struct partition_type kPartitionContentTypes[] = {
#ifndef _USER_MODE
{ 0x01, kPartitionTypeFAT12 },
{ 0x07, kPartitionTypeEXFAT },
{ 0x0c, kPartitionTypeFAT32 },
{ 0x0f, kPartitionTypeIntelExtended },
{ 0x83, kPartitionTypeBTRFS },

View File

@ -36,6 +36,7 @@ const char *kPartitionTypeVMDK = VMDK_PARTITION_NAME;
const char *kPartitionTypeAmigaFFS = AMIGA_FFS_NAME;
const char *kPartitionTypeBFS = BFS_NAME;
const char *kPartitionTypeBTRFS = BTRFS_NAME;
const char *kPartitionTypeEXFAT = EXFAT_FS_NAME;
const char *kPartitionTypeEXT2 = EXT2_FS_NAME;
const char *kPartitionTypeEXT3 = EXT3_FS_NAME;
const char *kPartitionTypeFAT12 = FAT12_FS_NAME;