From b6692341e7bc2d7444620cde0f52dffd69eba011 Mon Sep 17 00:00:00 2001 From: dalto Date: Sun, 14 Nov 2021 09:07:58 -0600 Subject: [PATCH] [fstab] Exclude zfs partitions from fstab --- src/modules/fstab/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fstab/main.py b/src/modules/fstab/main.py index 5312e7f5b..8ca4cf557 100644 --- a/src/modules/fstab/main.py +++ b/src/modules/fstab/main.py @@ -196,7 +196,7 @@ class FstabGenerator(object): dct = self.generate_fstab_line_info(mount_entry) if dct: self.print_fstab_line(dct, file=fstab_file) - else: + elif partition["fs"] != "zfs": # zfs partitions don't need an entry in fstab dct = self.generate_fstab_line_info(partition) if dct: self.print_fstab_line(dct, file=fstab_file)