Enums

Details

class BlockDev.BtrfsError(value)

Bases: GLib.Enum

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

Bases: GLib.Enum

FS = 0
MULTI_DEV = 1
SUBVOL = 2
SNAPSHOT = 3
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.CryptoLUKSVersion(value)

Bases: GLib.Enum

LUKS1 = 0
LUKS2 = 1
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.DMTech(value)

Bases: GLib.Enum

DM_TECH_MAP = 0
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.LVMCacheMode(value)

Bases: GLib.Enum

UNKNOWN = 0
WRITETHROUGH = 1
WRITEBACK = 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.LoopError(value)

Bases: GLib.Enum

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

Bases: GLib.Enum

LOOP_TECH_LOOP = 0
class BlockDev.MDError(value)

Bases: GLib.Enum

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

Bases: GLib.Enum

MD_TECH_MDRAID = 0
class BlockDev.MpathError(value)

Bases: GLib.Enum

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

Bases: GLib.Enum

BASE = 0
FRIENDLY_NAMES = 1
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.NVDIMMTech(value)

Bases: GLib.Enum

NVDIMM_TECH_NAMESPACE = 0
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.NVMEFormatSecureErase(value)

Bases: GLib.Enum

NONE = 0
USER_DATA = 1
CRYPTO = 2
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.NVMETech(value)

Bases: GLib.Enum

NVME = 0
FABRICS = 1
class BlockDev.NVMETransportType(value)

Bases: GLib.Enum

UNSPECIFIED = 0
RDMA = 1
FC = 2
LOOP = 254
TCP = 3
class BlockDev.PartAlign(value)

Bases: GLib.Enum

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

Bases: GLib.Enum

TECH_UNAVAIL = 0
FAIL = 1
INVAL = 2
EXISTS = 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
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
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