Crate blkpg

Crate blkpg 

Source
Expand description

A library to call Linux blkpg ioctls.

Note: only the BLKPG_RESIZE_PARTITION operation is implemented.

Functionsยง

resize_partition
Calls the blkpg ioctl with the BLKPG_RESIZE_PARTITION operation, which enables resizing a partition while it is mounted.