Skip to content

Rewrite the handling of swap

Martin Roukala requested to merge swap_rewrite into main

This MR does quite a few things:

  • Port the existing swap handling from shell scripts to golang
  • Make the cache device command handle both mounting and unmounting, thus removing even more shell code
  • Add support for backing the swap space by a block device
  • Add support for resuming from hibernation (hibernating is not yet supported, and will be implemented as part of #54 (closed))

TODO:

Edited by Martin Roukala

Merge request reports

Loading