Enums¶
Details¶
- class BlockDev.CryptoError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- DEVICE = 1¶
- KEY_SLOT = 10¶
- NSS_INIT_FAILED = 11¶
- CERT_DECODE = 12¶
- ESCROW_FAILED = 13¶
- INVALID_PARAMS = 14¶
- KEYRING = 15¶
- KEYFILE_FAILED = 16¶
- INVALID_CONTEXT = 17¶
- STATE = 2¶
- INVALID_SPEC = 3¶
- FORMAT_FAILED = 4¶
- RESIZE_FAILED = 5¶
- RESIZE_PERM = 6¶
- ADD_KEY = 7¶
- REMOVE_KEY = 8¶
- NO_KEY = 9¶
- class BlockDev.CryptoKeyslotContextType(value)¶
Bases:
GLib.Enum
- NONE = 0¶
- PASSPHRASE = 1¶
- KEYFILE = 2¶
- KEYRING = 3¶
- VOLUME_KEY = 4¶
- class BlockDev.CryptoTech(value)¶
Bases:
GLib.Enum
- LUKS = 0¶
- TRUECRYPT = 1¶
- ESCROW = 2¶
- INTEGRITY = 3¶
- BITLK = 4¶
- KEYRING = 5¶
- FVAULT2 = 6¶
- class BlockDev.DMError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- SYS = 1¶
- NOT_ROOT = 2¶
- TASK = 3¶
- RAID_FAIL = 4¶
- RAID_NO_DEVS = 5¶
- RAID_NO_EXIST = 6¶
- class BlockDev.FSError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- INVAL = 1¶
- LABEL_INVALID = 10¶
- UUID_INVALID = 11¶
- UNKNOWN_FS = 12¶
- PARSE = 2¶
- FAIL = 3¶
- NOFS = 4¶
- PIPE = 5¶
- UNMOUNT_FAIL = 6¶
- NOT_SUPPORTED = 7¶
- NOT_MOUNTED = 8¶
- AUTH = 9¶
- class BlockDev.FSTech(value)¶
Bases:
GLib.Enum
- GENERIC = 0¶
- MOUNT = 1¶
- EXFAT = 10¶
- BTRFS = 11¶
- UDF = 12¶
- EXT2 = 2¶
- EXT3 = 3¶
- EXT4 = 4¶
- XFS = 5¶
- VFAT = 6¶
- NTFS = 7¶
- F2FS = 8¶
- NILFS2 = 9¶
- class BlockDev.InitError(value)¶
Bases:
GLib.Enum
- FAILED = 0¶
- PLUGINS_FAILED = 1¶
- NOT_IMPLEMENTED = 2¶
- class BlockDev.LVMError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- FAIL = 1¶
- DEVICES_DISABLED = 10¶
- PARSE = 2¶
- NOEXIST = 3¶
- DM_ERROR = 4¶
- NOT_ROOT = 5¶
- CACHE_INVAL = 6¶
- CACHE_NOCACHE = 7¶
- NOT_SUPPORTED = 8¶
- VDO_POLICY_INVAL = 9¶
- class BlockDev.LVMTech(value)¶
Bases:
GLib.Enum
- BASIC = 0¶
- BASIC_SNAP = 1¶
- DEVICES = 10¶
- SHARED = 11¶
- THIN = 2¶
- CACHE = 3¶
- CALCS = 4¶
- THIN_CALCS = 5¶
- CACHE_CALCS = 6¶
- GLOB_CONF = 7¶
- VDO = 8¶
- WRITECACHE = 9¶
- class BlockDev.LVMVDOCompressionState(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- ONLINE = 1¶
- OFFLINE = 2¶
- class BlockDev.LVMVDOIndexState(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- ERROR = 1¶
- CLOSED = 2¶
- OPENING = 3¶
- CLOSING = 4¶
- OFFLINE = 5¶
- ONLINE = 6¶
- class BlockDev.LVMVDOOperatingMode(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- RECOVERING = 1¶
- READ_ONLY = 2¶
- NORMAL = 3¶
- class BlockDev.LVMVDOWritePolicy(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- AUTO = 1¶
- SYNC = 2¶
- ASYNC = 3¶
- class BlockDev.MDError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- FAIL = 1¶
- PARSE = 2¶
- BAD_FORMAT = 3¶
- NO_MATCH = 4¶
- INVAL = 5¶
- class BlockDev.MpathError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- INVAL = 1¶
- FLUSH = 2¶
- NOT_ROOT = 3¶
- DM_ERROR = 4¶
- class BlockDev.NVDIMMError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- NAMESPACE_FAIL = 1¶
- NAMESPACE_PARSE = 2¶
- NAMESPACE_NOEXIST = 3¶
- NAMESPACE_MODE_INVAL = 4¶
- class BlockDev.NVDIMMNamespaceMode(value)¶
Bases:
GLib.Enum
- RAW = 0¶
- SECTOR = 1¶
- MEMORY = 2¶
- DAX = 3¶
- FSDAX = 4¶
- DEVDAX = 5¶
- UNKNOWN = 6¶
- class BlockDev.NVMEControllerType(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- IO = 1¶
- DISCOVERY = 2¶
- ADMIN = 3¶
- class BlockDev.NVMEError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- FAILED = 1¶
- NO_MATCH = 10¶
- CONNECT = 11¶
- CONNECT_ALREADY = 12¶
- CONNECT_INVALID = 13¶
- CONNECT_ADDRINUSE = 14¶
- CONNECT_NODEV = 15¶
- CONNECT_OPNOTSUPP = 16¶
- CONNECT_REFUSED = 17¶
- BUSY = 2¶
- INVALID_ARGUMENT = 3¶
- WOULD_FORMAT_ALL_NS = 4¶
- SC_GENERIC = 5¶
- SC_CMD_SPECIFIC = 6¶
- SC_MEDIA = 7¶
- SC_PATH = 8¶
- SC_VENDOR_SPECIFIC = 9¶
- class BlockDev.NVMELBAFormatRelativePerformance(value)¶
Bases:
GLib.Enum
- UNKNOWN = 0¶
- BEST = 1¶
- BETTER = 2¶
- GOOD = 3¶
- DEGRADED = 4¶
- class BlockDev.NVMESanitizeAction(value)¶
Bases:
GLib.Enum
- EXIT_FAILURE = 0¶
- BLOCK_ERASE = 1¶
- OVERWRITE = 2¶
- CRYPTO_ERASE = 3¶
- class BlockDev.NVMESanitizeStatus(value)¶
Bases:
GLib.Enum
- NEVER_SANITIZED = 0¶
- IN_PROGESS = 1¶
- SUCCESS = 2¶
- SUCCESS_NO_DEALLOC = 3¶
- FAILED = 4¶
- class BlockDev.NVMESelfTestAction(value)¶
Bases:
GLib.Enum
- NOT_RUNNING = 0¶
- SHORT = 1¶
- EXTENDED = 2¶
- VENDOR_SPECIFIC = 3¶
- ABORT = 4¶
- class BlockDev.NVMESelfTestResult(value)¶
Bases:
GLib.Enum
- NO_ERROR = 0¶
- ABORTED = 1¶
- CTRL_RESET = 2¶
- NS_REMOVED = 3¶
- ABORTED_FORMAT = 4¶
- FATAL_ERROR = 5¶
- UNKNOWN_SEG_FAIL = 6¶
- KNOWN_SEG_FAIL = 7¶
- ABORTED_UNKNOWN = 8¶
- ABORTED_SANITIZE = 9¶
- class BlockDev.NVMETransportType(value)¶
Bases:
GLib.Enum
- UNSPECIFIED = 0¶
- RDMA = 1¶
- FC = 2¶
- LOOP = 254¶
- TCP = 3¶
- class BlockDev.PartError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- FAIL = 1¶
- INVAL = 2¶
- EXISTS = 3¶
- 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¶
- FS = 10¶
- NVDIMM = 11¶
- NVME = 12¶
- UNDEF = 13¶
- SWAP = 2¶
- LOOP = 3¶
- CRYPTO = 4¶
- MPATH = 5¶
- DM = 6¶
- MDRAID = 7¶
- S390 = 8¶
- PART = 9¶
- class BlockDev.SwapError(value)¶
Bases:
GLib.Enum
- TECH_UNAVAIL = 0¶
- UNKNOWN_STATE = 1¶
- ACTIVATE = 2¶
- ACTIVATE_OLD = 3¶
- ACTIVATE_SUSPEND = 4¶
- ACTIVATE_UNKNOWN = 5¶
- ACTIVATE_PAGESIZE = 6¶
- LABEL_INVALID = 7¶
- UUID_INVALID = 8¶
- 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¶