Dont set fsck check for BTRFS in fstab

This commit is contained in:
dr460nf1r3 2021-09-03 20:49:08 +02:00
parent 57f2a4c9eb
commit 35156574b8
No known key found for this signature in database
GPG Key ID: BE75B9D9767036C2

View File

@ -244,9 +244,9 @@ class FstabGenerator(object):
if extra: if extra:
options += "," + extra options += "," + extra
if mount_point == "/": if mount_point == "/" and filesystem != "btrfs":
check = 1 check = 1
elif mount_point and mount_point != "swap": elif mount_point and mount_point != "swap" and filesystem != "btrfs":
check = 2 check = 2
else: else:
check = 0 check = 0