Hello!

What is the process of submitting patches to
https://salsa.debian.org/kernel-team/initramfs-tools.git ? I already
applied for an account in salsa and I'm awaiting the verification.

I found a small glitch when swap space is created in ZVOL: initrd tries to
resume from it failing (ZFS-on-Linux is not mature enough yet to support
it). I use ZFS on root on my laptop for everyday work, that's how I found
the bug and tested the correction.

diff --git hooks/resume hooks/resume
index 0cd78fe..bf4c511 100755
--- hooks/resume
+++ hooks/resume
@@ -76,6 +76,12 @@ if ! ischroot && [ -r /proc/swaps ]; then
                        report_verbose "Rejecting $resume_auto since it is
zram"
                        ephemeral=true
                        ;;
+
+               # zfs doesn't support it
+               /dev/zd[0-9]*)
+                       report_verbose "Rejecting $resume_auto since it is
zvol"
+                       ephemeral=true
+                       ;;
                esac

                $ephemeral || break

Thanks in advance!
-- 
Damian Szuberski

Reply via email to