Added some more partition change flags and a partition state for uninitialized partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4069 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
95152e1e98
commit
a8f1d2a859
@ -32,23 +32,31 @@ enum {
|
||||
B_PARTITION_VALID,
|
||||
B_PARTITION_CORRUPT,
|
||||
B_PARTITION_UNRECOGNIZED,
|
||||
B_PARTITION_UNINITIALIZED, // Only when uninitialized manually.
|
||||
// When not recognized while scanning it's
|
||||
// B_PARTITION_UNRECOGNIZED.
|
||||
};
|
||||
|
||||
// partition change flags
|
||||
enum {
|
||||
B_PARTITION_CHANGED_OFFSET = 0x0001,
|
||||
B_PARTITION_CHANGED_SIZE = 0x0002,
|
||||
B_PARTITION_CHANGED_BLOCK_SIZE = 0x0004,
|
||||
B_PARTITION_CHANGED_STATUS = 0x0008,
|
||||
B_PARTITION_CHANGED_FLAGS = 0x0010,
|
||||
B_PARTITION_CHANGED_VOLUME = 0x0020,
|
||||
B_PARTITION_CHANGED_NAME = 0x0040,
|
||||
B_PARTITION_CHANGED_CONTENT_NAME = 0x0080,
|
||||
B_PARTITION_CHANGED_TYPE = 0x0100,
|
||||
B_PARTITION_CHANGED_CONTENT_TYPE = 0x0200,
|
||||
B_PARTITION_CHANGED_PARAMETERS = 0x0400,
|
||||
B_PARTITION_CHANGED_CONTENT_PARAMETERS = 0x0800,
|
||||
B_PARTITION_CHANGED_CHILDREN = 0x1000,
|
||||
B_PARTITION_CHANGED_OFFSET = 0x000001,
|
||||
B_PARTITION_CHANGED_SIZE = 0x000002,
|
||||
B_PARTITION_CHANGED_BLOCK_SIZE = 0x000004,
|
||||
B_PARTITION_CHANGED_STATUS = 0x000008,
|
||||
B_PARTITION_CHANGED_FLAGS = 0x000010,
|
||||
B_PARTITION_CHANGED_VOLUME = 0x000020,
|
||||
B_PARTITION_CHANGED_NAME = 0x000040,
|
||||
B_PARTITION_CHANGED_CONTENT_NAME = 0x000080,
|
||||
B_PARTITION_CHANGED_TYPE = 0x000100,
|
||||
B_PARTITION_CHANGED_CONTENT_TYPE = 0x000200,
|
||||
B_PARTITION_CHANGED_PARAMETERS = 0x000400,
|
||||
B_PARTITION_CHANGED_CONTENT_PARAMETERS = 0x000800,
|
||||
B_PARTITION_CHANGED_CHILDREN = 0x001000,
|
||||
B_PARTITION_CHANGED_DESCENDANTS = 0x002000,
|
||||
B_PARTITION_CHANGED_DEFRAGMENTATION = 0x004000,
|
||||
B_PARTITION_CHANGED_CHECK = 0x008000,
|
||||
B_PARTITION_CHANGED_REPAIR = 0x010000,
|
||||
B_PARTITION_CHANGED_INITIALIZATION = 0x020000,
|
||||
};
|
||||
|
||||
// disk device flags
|
||||
|
Loading…
Reference in New Issue
Block a user