allow for partitions to not be formatted

axtloss/rework-partitioning
axtlos 3 years ago
parent bb55108520
commit 2baf684b4b
No known key found for this signature in database
GPG Key ID: A468AFD71DD51D4A

@ -132,6 +132,12 @@ pub fn fmt_mount(mountpoint: &String, filesystem: &String, blockdevice: &String)
format!("Formatting {blockdevice} as minix").as_str(), format!("Formatting {blockdevice} as minix").as_str(),
) )
} }
"don't format" => {
log::debug!("Not formatting {}", blockdevice);
}
"noformat" => {
log::debug!("Not formatting {}", blockdevice);
}
_ => { _ => {
crash( crash(
format!("Unknown filesystem {filesystem}, used in partition {blockdevice}"), format!("Unknown filesystem {filesystem}, used in partition {blockdevice}"),

Loading…
Cancel
Save