Forcefully write btrfs
This commit is contained in:
parent
4967a1452c
commit
717f9eeb91
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ in
|
|||
builtins.map
|
||||
(
|
||||
_: builtins.concatStringsSep " " (
|
||||
[ "mkfs.btrfs" ] ++
|
||||
[ "mkfs.btrfs" "--force" ] ++
|
||||
(lib.optionals (_.metadataProfile != null) [ "--metadata" "${_.metadataProfile}" ]) ++
|
||||
(lib.optionals (_.dataProfile != null) [ "--data" "${_.dataProfile}" ]) ++
|
||||
(lib.optionals (_.label != null) [ "--label" "${_.label}" ]) ++
|
||||
|
|
|
@ -132,7 +132,7 @@ let
|
|||
|
||||
formatScripts = {
|
||||
${fs.ext4} = "mkfs.ext4 -F ${partVar}";
|
||||
${fs.btrfs} = "mkfs.btrfs ${partVar}";
|
||||
${fs.btrfs} = "mkfs.btrfs --force ${partVar}";
|
||||
${fs.swap} = "mkswap ${partVar}";
|
||||
${fs.ntfs} = "mkfs.ntfs -F ${partVar}";
|
||||
${fs.fat32} = "mkfs.fat -F 32 ${partVar}";
|
||||
|
|
Loading…
Reference in a new issue