Skip to main content

systemd_repart_run

Function systemd_repart_run 

Source
fn systemd_repart_run(
    device: &Device,
    generic_image: bool,
    dry_run: bool,
    definitions: RepartDefinitions<'_>,
) -> Result<Vec<RepartPartition>>
Expand description

Run systemd-repart on the device and return the parsed JSON output. dry_run: if true, no changes are written to disk. definitions: which repart.d definitions to read.