mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-07 08:52:54 +01:00
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
This commit is contained in:
parent
1d5ef4b3b7
commit
d946bba21e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue