diff --git a/src/disk.sh b/src/disk.sh index 6fb084d1..7bf4a9dd 100644 --- a/src/disk.sh +++ b/src/disk.sh @@ -80,7 +80,7 @@ getSize() { isCow() { local FS=$1 - if [[ "${FS,,}" == "xfs" || "${FS,,}" == "btrfs" || "${FS,,}" == "bcachefs" ]]; then + if [[ "${FS,,}" == "btrfs" ]]; then return 0 fi diff --git a/src/install.sh b/src/install.sh index 041c1ff1..603c4010 100644 --- a/src/install.sh +++ b/src/install.sh @@ -265,7 +265,7 @@ if ! touch "$SYSTEM"; then error "Could not create file $SYSTEM for the system disk." && exit 98 fi -if [[ "${FS,,}" == "xfs" || "${FS,,}" == "btrfs" || "${FS,,}" == "bcachefs" ]]; then +if [[ "${FS,,}" == "btrfs" ]]; then { chattr +C "$SYSTEM"; } || : FA=$(lsattr "$SYSTEM") if [[ "$FA" != *"C"* ]]; then