Commit c15da3bf authored by Jakub Skrzypnik's avatar Jakub Skrzypnik Committed by Natanael Copa
Browse files

setup-disk: add xfs support as boot_fs

parent be87a08b
...@@ -141,7 +141,7 @@ find_mount_dev() { ...@@ -141,7 +141,7 @@ find_mount_dev() {
} }
supported_boot_fs() { supported_boot_fs() {
local supported="ext2 ext3 ext4 btrfs" local supported="ext2 ext3 ext4 btrfs xfs"
local fs= local fs=
for fs in $supported; do for fs in $supported; do
[ "$fs" = "$1" ] && return 0 [ "$fs" = "$1" ] && return 0
...@@ -941,7 +941,7 @@ usage() { ...@@ -941,7 +941,7 @@ usage() {
If BOOTFS, ROOTFS, VARFS are specified, then format a partition with specified If BOOTFS, ROOTFS, VARFS are specified, then format a partition with specified
filesystem. If not specified, the default filesystem is ext4. filesystem. If not specified, the default filesystem is ext4.
Supported filesystems for Supported filesystems for
boot: ext2, ext3, ext4, btrfs boot: ext2, ext3, ext4, btrfs, xfs
root: ext2, ext3, ext4, btrfs, xfs root: ext2, ext3, ext4, btrfs, xfs
var: ext2, ext3, ext4, btrfs, xfs var: ext2, ext3, ext4, btrfs, xfs
__EOF__ __EOF__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment