Flags

Details

class UDisks.PartitionTypeInfoFlags(value)

Bases: GObject.GFlags

Flags describing a partition type.

NONE = 0

No flags set.

SWAP = 1

Partition type is used for swap.

SYSTEM = 16

Partition type indicates the partition is part of the system / bootloader (e.g. ‘dos’ types 0xee, 0xff, ‘gpt’ types for ‘EFI System partition’ and ‘BIOS Boot partition’).

RAID = 2

Partition type is used for RAID/LVM or similar.

HIDDEN = 4

Partition type indicates the partition is hidden (e.g. ‘dos’ type 0x1b “Hidden W95 FAT32”). Note that this is not the same as user-toggleable attributes/flags for a partition.

CREATE_ONLY = 8

Partition type can only be used when creating a partition and e.g. should not be selectable in a “change partition type” user interface (e.g. ‘dos’ type 0x05, 0x0f and 0x85 for extended partitions).