Skip to main content

Crate bootc_internal_blockdev

Crate bootc_internal_blockdev 

Source

Structsยง

Device
DevicesOutput ๐Ÿ”’
LoopbackCleanupHandle ๐Ÿ”’
Handle to manage the cleanup helper process for loopback devices
LoopbackDevice

Constantsยง

BIOS_BOOT
BIOS boot partition type GUID for GPT
ESP
EFI System Partition (ESP) for UEFI boot on GPT
ESP_ID_MBR
MBR partition type IDs that indicate an EFI System Partition. 0x06 is FAT16 (used as ESP on some MBR systems), 0xEF is the explicit EFI System Partition type. Refer to https://en.wikipedia.org/wiki/Partition_type

Functionsยง

blkid_probe ๐Ÿ”’
Probe a device with blkid -p and return all discovered properties as key-value pairs.
have_udev ๐Ÿ”’
Check whether the udev database is accessible (cached for the process lifetime).
list_dev
list_dev_by_dir
List the device containing the filesystem mounted at the given directory.
list_dev_for_zfs_dataset ๐Ÿ”’
parse_size_mib
Parse a string into mibibytes
run_loopback_cleanup_helper
Main function for the loopback cleanup helper process This function does not return - it either exits normally or via signal