Function block_utils::format_block_device
[−]
[src]
pub fn format_block_device(
device: &Path,
filesystem: &Filesystem
) -> Result<i32, String>
Synchronous utility to format a block device with a given filesystem. Note: ZFS creation can be slow because there's potentially several commands that need to be run. async_format_block_device will be faster if you have many block devices to format