s2disk
tools to use userspace software suspend provided by Linux
Install
- All systems
-
curl cmd.cat/s2disk.sh
- Debian
-
apt-get install uswsusp
- Ubuntu
-
apt-get install uswsusp
- Kali Linux
-
apt-get install uswsusp
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install uswsusp
- Dockerfile
- dockerfile.run/s2disk
uswsusp
tools to use userspace software suspend provided by Linux
This package (also known as µswsusp, suspend-utils or simply suspend) contains the programs to use the userspace software suspend facility available in Linux kernels 2.6.17-rc1 and higher. It allows the system to have its state saved to disk and be powered off. On restarting, it will be put back in the state it was left in (this is sometimes called hibernation). It also includes a program to suspend the system to RAM after the state is saved to disk. In that state, the system still uses power, but resuming is faster. If the battery depletes, the state is resumed from disk without data loss. Optional features include encrypting the system snapshot. To use this package you need a Linux kernel version 2.6.17-rc1 or newer configured to use an initramfs. Hooks and scripts to integrate with initramfs-tools are provided.