pub async fn mkfs_with_volume(
device: DeviceHolder,
volume_name: &str,
crypt: Option<Arc<dyn Crypt>>,
) -> Result<(), Error>
Expand description
Helper method for making a new filesystem with a single named volume. This shouldn’t be used in production; instead volumes should be created with the Volumes protocol.