Fedora reawakens the hibernation debate
Fedora reawakens the hibernation debate
Posted Oct 10, 2018 15:30 UTC (Wed) by cortana (subscriber, #24596)In reply to: Fedora reawakens the hibernation debate by mcortese
Parent article: Fedora reawakens the hibernation debate
It's not done by GNOME/systemd but by the installation process. You mention you're on a Debian system. In your case, the installer would have set RESUME= in /etc/initramfs-tools/conf.d/resume to point to a swap device. This is copied into the initramfs when it is generated. At boot time, /usr/share/initramfs-tools/scripts/local-premount/resume makes that device available and then uses klibc's resume command to actaully perform the resume by writing the swap devices's major:minor:offset to /sys/power/resume.
