Enums

Details

class BlockDev.BtrfsError(value)

Bases: GLib.Enum

DEVICE = 0
PARSE = 1
TECH_UNAVAIL = 2
class BlockDev.BtrfsTech(value)

Bases: GLib.Enum

FS = 0
MULTI_DEV = 1
SUBVOL = 2
SNAPSHOT = 3
class BlockDev.CryptoError(value)

Bases: GLib.Enum

DEVICE = 0
STATE = 1
NSS_INIT_FAILED = 10
CERT_DECODE = 11
ESCROW_FAILED = 12
INVALID_PARAMS = 13
TECH_UNAVAIL = 14
INVALID_SPEC = 2
FORMAT_FAILED = 3
RESIZE_FAILED = 4
RESIZE_PERM = 5
ADD_KEY = 6
REMOVE_KEY = 7
NO_KEY = 8
KEY_SLOT = 9
class BlockDev.CryptoLUKSVersion(value)

Bases: GLib.Enum

LUKS1 = 0
LUKS2 = 1
class BlockDev.CryptoTech(value)

Bases: GLib.Enum

LUKS = 0
LUKS2 = 1
TRUECRYPT = 2
ESCROW = 3
INTEGRITY = 4
BITLK = 5
class BlockDev.DMError(value)

Bases: GLib.Enum

SYS = 0
NOT_ROOT = 1
TASK = 2
RAID_FAIL = 3
RAID_NO_DEVS = 4
TECH_UNAVAIL = 5
class BlockDev.DMTech(value)

Bases: GLib.Enum

MAP = 0
RAID = 1
class BlockDev.FSTech(value)

Bases: GLib.Enum

GENERIC = 0
MOUNT = 1
EXT2 = 2
EXT3 = 3
EXT4 = 4
XFS = 5
VFAT = 6
NTFS = 7
class BlockDev.FsError(value)

Bases: GLib.Enum

INVAL = 0
PARSE = 1
FAIL = 2
NOFS = 3
PIPE = 4
UNMOUNT_FAIL = 5
NOT_SUPPORTED = 6
NOT_MOUNTED = 7
AUTH = 8
TECH_UNAVAIL = 9
class BlockDev.InitError(value)

Bases: GLib.Enum

PLUGINS_FAILED = 0
NOT_IMPLEMENTED = 1
FAILED = 2
class BlockDev.KBDBcacheMode(value)

Bases: GLib.Enum

WRITETHROUGH = 0
WRITEBACK = 1
WRITEAROUND = 2
NONE = 3
UNKNOWN = 4
class BlockDev.KBDError(value)

Bases: GLib.Enum

INVAL = 0
KMOD_INIT_FAIL = 1
BCACHE_UUID = 10
BCACHE_MODE_FAIL = 11
BCACHE_MODE_INVAL = 12
BCACHE_NOEXIST = 13
BCACHE_INVAL = 14
TECH_UNAVAIL = 15
MODULE_FAIL = 2
MODULE_NOEXIST = 3
ZRAM_NOEXIST = 4
ZRAM_INVAL = 5
BCACHE_PARSE = 6
BCACHE_SETUP_FAIL = 7
BCACHE_DETACH_FAIL = 8
BCACHE_NOT_ATTACHED = 9
class BlockDev.KBDTech(value)

Bases: GLib.Enum

ZRAM = 0
BCACHE = 1
class BlockDev.LVMCacheMode(value)

Bases: GLib.Enum

WRITETHROUGH = 0
WRITEBACK = 1
UNKNOWN = 2
class BlockDev.LVMError(value)

Bases: GLib.Enum

PARSE = 0
NOEXIST = 1
DM_ERROR = 2
NOT_ROOT = 3
CACHE_INVAL = 4
CACHE_NOCACHE = 5
TECH_UNAVAIL = 6
FAIL = 7
NOT_SUPPORTED = 8
VDO_POLICY_INVAL = 9
class BlockDev.LVMTech(value)

Bases: GLib.Enum

BASIC = 0
BASIC_SNAP = 1
THIN = 2
CACHE = 3
CALCS = 4
THIN_CALCS = 5
CACHE_CALCS = 6
GLOB_CONF = 7
VDO = 8
class BlockDev.LVMVDOCompressionState(value)

Bases: GLib.Enum

ONLINE = 0
OFFLINE = 1
UNKNOWN = 255
class BlockDev.LVMVDOIndexState(value)

Bases: GLib.Enum

ERROR = 0
CLOSED = 1
OPENING = 2
UNKNOWN = 255
CLOSING = 3
OFFLINE = 4
ONLINE = 5
class BlockDev.LVMVDOOperatingMode(value)

Bases: GLib.Enum

RECOVERING = 0
READ_ONLY = 1
NORMAL = 2
UNKNOWN = 255
class BlockDev.LVMVDOWritePolicy(value)

Bases: GLib.Enum

AUTO = 0
SYNC = 1
ASYNC = 2
UNKNOWN = 255
class BlockDev.LoopError(value)

Bases: GLib.Enum

DEVICE = 0
FAIL = 1
TECH_UNAVAIL = 2
class BlockDev.LoopTech(value)

Bases: GLib.Enum

LOOP_TECH_LOOP = 0
class BlockDev.MDError(value)

Bases: GLib.Enum

PARSE = 0
BAD_FORMAT = 1
NO_MATCH = 2
INVAL = 3
FAIL = 4
TECH_UNAVAIL = 5
class BlockDev.MDTech(value)

Bases: GLib.Enum

MD_TECH_MDRAID = 0
class BlockDev.MpathError(value)

Bases: GLib.Enum

FLUSH = 0
NOT_ROOT = 1
DM_ERROR = 2
INVAL = 3
TECH_UNAVAIL = 4
class BlockDev.MpathTech(value)

Bases: GLib.Enum

BASE = 0
FRIENDLY_NAMES = 1
class BlockDev.NVDIMMError(value)

Bases: GLib.Enum

PARSE = 0
FAIL = 1
NOEXIST = 2
MODE_INVAL = 3
class BlockDev.NVDIMMNamespaceMode(value)

Bases: GLib.Enum

RAW = 0
SECTOR = 1
MEMORY = 2
DAX = 3
FSDAX = 4
DEVDAX = 5
UNKNOWN = 6
class BlockDev.NVDIMMTech(value)

Bases: GLib.Enum

NVDIMM_TECH_NAMESPACE = 0
class BlockDev.PartAlign(value)

Bases: GLib.Enum

MINIMAL = 0
OPTIMAL = 1
NONE = 2
class BlockDev.PartDiskFlag(value)

Bases: GLib.Enum

PART_DISK_FLAG_GPT_PMBR_BOOT = 1
class BlockDev.PartError(value)

Bases: GLib.Enum

EXISTS = 0
INVAL = 1
FAIL = 2
TECH_UNAVAIL = 3
class BlockDev.PartTableType(value)

Bases: GLib.Enum

MSDOS = 0
GPT = 1
UNDEF = 2
class BlockDev.PartTech(value)

Bases: GLib.Enum

MBR = 0
GPT = 1
class BlockDev.PartType(value)

Bases: GLib.Enum

NORMAL = 0
LOGICAL = 1
PROTECTED = 16
EXTENDED = 2
FREESPACE = 4
METADATA = 8
class BlockDev.PartTypeReq(value)

Bases: GLib.Enum

NORMAL = 0
LOGICAL = 1
EXTENDED = 2
NEXT = 4
class BlockDev.Plugin(value)

Bases: GLib.Enum

LVM = 0
BTRFS = 1
PART = 10
FS = 11
NVDIMM = 12
VDO = 13
UNDEF = 14
SWAP = 2
LOOP = 3
CRYPTO = 4
MPATH = 5
DM = 6
MDRAID = 7
KBD = 8
S390 = 9
class BlockDev.SwapError(value)

Bases: GLib.Enum

UNKNOWN_STATE = 0
ACTIVATE = 1
TECH_UNAVAIL = 2
ACTIVATE_OLD = 3
ACTIVATE_SUSPEND = 4
ACTIVATE_UNKNOWN = 5
ACTIVATE_PAGESIZE = 6
class BlockDev.SwapTech(value)

Bases: GLib.Enum

SWAP_TECH_SWAP = 0
class BlockDev.UtilsDBusError(value)

Bases: GLib.Enum

FAIL = 0
NOEXIST = 1
class BlockDev.UtilsDevUtilsError(value)

Bases: GLib.Enum

UTILS_DEV_UTILS_ERROR_FAILED = 0
class BlockDev.UtilsExecError(value)

Bases: GLib.Enum

FAILED = 0
NOOUT = 1
INVAL_VER = 2
UTIL_UNAVAILABLE = 3
UTIL_UNKNOWN_VER = 4
UTIL_LOW_VER = 5
UTIL_CHECK_ERROR = 6
UTIL_FEATURE_CHECK_ERROR = 7
UTIL_FEATURE_UNAVAILABLE = 8
class BlockDev.UtilsModuleError(value)

Bases: GLib.Enum

KMOD_INIT_FAIL = 0
FAIL = 1
NOEXIST = 2
MODULE_CHECK_ERROR = 3
INVALID_PLATFORM = 4
class BlockDev.UtilsProgStatus(value)

Bases: GLib.Enum

STARTED = 0
PROGRESS = 1
FINISHED = 2
class BlockDev.VDOError(value)

Bases: GLib.Enum

VDO_ERROR_FAIL = 0
class BlockDev.VDOTech(value)

Bases: GLib.Enum

VDO_TECH_VDO = 0
class BlockDev.VDOWritePolicy(value)

Bases: GLib.Enum

SYNC = 0
ASYNC = 1
AUTO = 2
UNKNOWN = 3