From d946bba21e38a1920324f53b8e309c0331ad38d5 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 18 Jul 2019 13:19:59 -0400 Subject: [PATCH] pentoo-updater: more zfs detection zfs doesn't actually have to be in fstab to mount, so just detect if any zfs is mounted at all --- scripts/pentoo-updater.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pentoo-updater.sh b/scripts/pentoo-updater.sh index e17c7b85a..a6230ac15 100755 --- a/scripts/pentoo-updater.sh +++ b/scripts/pentoo-updater.sh @@ -180,7 +180,7 @@ update_kernel() { if grep -q btrfs /etc/fstab || grep -q btrfs /proc/cmdline; then genkernelopts="${genkernelopts} --btrfs" fi - if grep -q zfs /etc/fstab || grep -q zfs /proc/cmdline; then + if grep -q zfs /etc/fstab || grep -q zfs /proc/cmdline || grep -q zfs /proc/mounts; then genkernelopts="${genkernelopts} --zfs" fi if grep -q 'ext[234]' /etc/fstab; then