* Renamed "EFI GUID Partition Table" to "EFI GUID Partition Map" to be consistent
with the other partition types. * Added kPartitionTypeEFI to the constants. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,15 +1,10 @@
|
|||||||
//----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the OpenBeOS distribution and is covered
|
* Copyright 2003-2007, Haiku Inc.
|
||||||
// by the OpenBeOS license.
|
* Distributed under the terms of the MIT License.
|
||||||
//---------------------------------------------------------------------
|
*/
|
||||||
|
|
||||||
#ifndef _DISK_DEVICE_TYPES_H
|
#ifndef _DISK_DEVICE_TYPES_H
|
||||||
#define _DISK_DEVICE_TYPES_H
|
#define _DISK_DEVICE_TYPES_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Device Types
|
// Device Types
|
||||||
|
|
||||||
extern const char *kDeviceTypeFloppyDisk;
|
extern const char *kDeviceTypeFloppyDisk;
|
||||||
@@ -27,6 +22,7 @@ extern const char *kPartitionTypeDataSession;
|
|||||||
|
|
||||||
extern const char *kPartitionTypeAmiga;
|
extern const char *kPartitionTypeAmiga;
|
||||||
extern const char *kPartitionTypeApple;
|
extern const char *kPartitionTypeApple;
|
||||||
|
extern const char *kPartitionTypeEFI;
|
||||||
extern const char *kPartitionTypeIntel;
|
extern const char *kPartitionTypeIntel;
|
||||||
|
|
||||||
extern const char *kPartitionTypeIntelPrimary;
|
extern const char *kPartitionTypeIntelPrimary;
|
||||||
@@ -45,8 +41,4 @@ extern const char *kPartitionTypeISO9660;
|
|||||||
extern const char *kPartitionTypeReiser;
|
extern const char *kPartitionTypeReiser;
|
||||||
extern const char *kPartitionTypeUDF;
|
extern const char *kPartitionTypeUDF;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // _DISK_DEVICE_TYPES_H
|
#endif // _DISK_DEVICE_TYPES_H
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#define EFI_PARTITION_MODULE_NAME "partitioning_systems/efi_gpt/v1"
|
#define EFI_PARTITION_MODULE_NAME "partitioning_systems/efi_gpt/v1"
|
||||||
#define EFI_PARTITION_NAME "EFI GUID Partition Table"
|
#define EFI_PARTITION_NAME "EFI GUID Partition Map"
|
||||||
|
|
||||||
|
|
||||||
struct static_guid {
|
struct static_guid {
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
//----------------------------------------------------------------------
|
/*
|
||||||
// This software is part of the Haiku distribution and is covered
|
* Copyright 2003-2007, Haiku Inc.
|
||||||
// by the MIT license.
|
* Distributed under the terms of the MIT License.
|
||||||
//---------------------------------------------------------------------
|
*
|
||||||
|
* Authors:
|
||||||
|
* Tyler Akidau
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <DiskDeviceTypes.h>
|
#include <DiskDeviceTypes.h>
|
||||||
|
|
||||||
|
|
||||||
// Device Types
|
// Device Types
|
||||||
|
|
||||||
const char *kDeviceTypeFloppyDisk = "Floppy Disk Media";
|
const char *kDeviceTypeFloppyDisk = "Floppy Disk Media";
|
||||||
@@ -22,6 +27,7 @@ const char *kPartitionTypeDataSession = "Data Session";
|
|||||||
|
|
||||||
const char *kPartitionTypeAmiga = "Amiga Partition Map";
|
const char *kPartitionTypeAmiga = "Amiga Partition Map";
|
||||||
const char *kPartitionTypeApple = "Apple Partition Map";
|
const char *kPartitionTypeApple = "Apple Partition Map";
|
||||||
|
const char *kPartitionTypeEFI = "EFI GUID Partition Map";
|
||||||
const char *kPartitionTypeIntel = "Intel Partition Map";
|
const char *kPartitionTypeIntel = "Intel Partition Map";
|
||||||
|
|
||||||
const char *kPartitionTypeIntelPrimary = "Intel Primary Partition";
|
const char *kPartitionTypeIntelPrimary = "Intel Primary Partition";
|
||||||
|
|||||||
Reference in New Issue
Block a user