mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
resume: Don't resume from a swap device on a ZVOL
OpenZFS currently doesn't support resuming from swap devices backed by ZVOL. Without this correction boot process hangs at initramfs stage. Signed-off-by: szubersk <szuberskidamian@gmail.com>
This commit is contained in:
parent
6f2963f292
commit
e447e91bfb
@ -76,6 +76,11 @@ if ! ischroot && [ -r /proc/swaps ]; then
|
||||
report_verbose "Rejecting $resume_auto since it is zram"
|
||||
ephemeral=true
|
||||
;;
|
||||
|
||||
/dev/zd[0-9]*)
|
||||
report_verbose "Rejecting $resume_auto since it is zvol"
|
||||
ephemeral=true
|
||||
;;
|
||||
esac
|
||||
|
||||
$ephemeral || break
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user