Block-device queries, via the setuid helper's blockdev tool.
Summary
Functions
Size of the block device at path, in 512-byte sectors.
Types
@type err() :: Hyper.SuidHelper.err()
Functions
@spec device_sectors(Path.t()) :: {:ok, pos_integer()} | {:error, err()}
Size of the block device at path, in 512-byte sectors.