Description
Encrypted or prepared swap devices can be opened during boot through an initramfs hook. It helps systems make swap available early, including setups that need swap for resume or memory management before normal services start.
Swap and encryption hooks are boot-critical. Incorrect configuration can delay or break startup, so test after regenerating initramfs and keep recovery access available.