]> code.delx.au - refind/blobdiff - refind/lib.h
Add support for bit 60 (read-only) and 63 (do-not-automount) partition
[refind] / refind / lib.h
index 552b11f9d0ba5d78eb340eddd67d4678aea41d1a..a148f6abf8b7db6cdcfa90e90061bb69fc6df7e7 100644 (file)
@@ -79,6 +79,11 @@ typedef struct {
 
 #define IS_EXTENDED_PART_TYPE(type) ((type) == 0x05 || (type) == 0x0f || (type) == 0x85)
 
+// GPT attributes of interest to us for Freedesktop.org Discoverable
+// Partitions Specification....
+#define GPT_READ_ONLY     0x1000000000000000
+#define GPT_NO_AUTOMOUNT  0x8000000000000000
+
 // Partition names to be ignored when setting volume name
 #define IGNORE_PARTITION_NAMES L"Microsoft basic data,Linux filesystem,Apple HFS/HFS+"