Add btrfs
support
This commit is contained in:
parent
600989f8a7
commit
510a38efa9
2 changed files with 3 additions and 0 deletions
|
@ -131,6 +131,7 @@ let
|
|||
|
||||
formatScripts = {
|
||||
${fs.ext4} = "mkfs.ext4 -F ${partVar}";
|
||||
${fs.btrfs} = "mkfs.btrfs ${partVar}";
|
||||
${fs.swap} = "mkswap ${partVar}";
|
||||
${fs.ntfs} = "mkfs.ntfs -F ${partVar}";
|
||||
${fs.fat32} = "mkfs.fat -F 32 ${partVar}";
|
||||
|
@ -138,6 +139,7 @@ let
|
|||
|
||||
labelScripts = {
|
||||
${fs.ext4} = label: "e2label ${partVar} ${label}";
|
||||
${fs.btrfs} = label: "btrfs filesystem label ${partVar} ${label}";
|
||||
${fs.swap} = label: "swaplabel ${partVar} --label ${label}";
|
||||
${fs.ntfs} = label: "ntfslabel ${partVar} ${label}";
|
||||
${fs.fat32} = label: "fatlabel ${partVar} ${label}";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
ext4 = "ext4";
|
||||
btrfs = "btrfs";
|
||||
swap = "swap";
|
||||
ntfs = "ntfs";
|
||||
fat32 = "fat32";
|
||||
|
|
Loading…
Reference in a new issue