Function libcoreinst::blockdev::get_sector_size_for_path[][src]

pub fn get_sector_size_for_path(device: &Path) -> Result<NonZeroU32>

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