Skip to main content

create_disk_from_kwsparse

Function create_disk_from_kwsparse 

Source
pub fn create_disk_from_kwsparse(dest: &Path, raw_or_gz: &[u8]) -> Result<u64>
Expand description

Create a sparse ext4 disk file at dest from a bundled unkernel.datadisk (KWSPARS1, gzipped or raw). Written atomically via a temporary sibling file.