add force option for mkfs.btrfs

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

@ -102,7 +102,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
fn part_nvme(device: &str, efi: bool) {
if efi {
exec_eval(
exec("mkfs.vfat", vec![format!("{}p1", device)]),
exec("mkfs.vfat", vec!["-f".to_string(), format!("{}p1", device)]),
format!("format {}p1 as fat32", device).as_str(),
);
exec_eval(

Loading…
Cancel
Save