[][src]Module libcoreinst::blockdev

Structs

Disk
Mount
PartTableKernel

Device nodes for partitionable kernel devices, managed by the kernel.

PartTableKpartx

Device nodes for non-partitionable kernel devices, managed by running kpartx to parse the partition table and create device-mapper devices for each partition.

Partition

Traits

PartTable

A handle to the set of device nodes for individual partitions of a device. Must be held as long as the device nodes are needed; they might be removed upon drop.

Functions

detect_formatted_sector_size

Inspect a buffer from the start of a disk image and return its formatted sector size, if any can be determined.

get_block_device_size

Get the size of a block device.

get_sector_size

Get the logical sector size of a block device.

get_sector_size_for_path

Get the sector size of the block device at a given path.

udev_settle