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