Dont set fsck check for BTRFS in fstab
This commit is contained in:
parent
57f2a4c9eb
commit
35156574b8
@ -244,9 +244,9 @@ class FstabGenerator(object):
|
||||
if extra:
|
||||
options += "," + extra
|
||||
|
||||
if mount_point == "/":
|
||||
if mount_point == "/" and filesystem != "btrfs":
|
||||
check = 1
|
||||
elif mount_point and mount_point != "swap":
|
||||
elif mount_point and mount_point != "swap" and filesystem != "btrfs":
|
||||
check = 2
|
||||
else:
|
||||
check = 0
|
||||
|
Loading…
Reference in New Issue
Block a user