cannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 天前Stop Doing Swap Partitionslemmy.worldimagemessage-square138linkfedilinkarrow-up1689arrow-down136file-textcross-posted to: programmer_humor@programming.dev
arrow-up1653arrow-down1imageStop Doing Swap Partitionslemmy.worldcannedtuna@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 天前message-square138linkfedilinkfile-textcross-posted to: programmer_humor@programming.dev
minus-squareDumhuvud@programming.devlinkfedilinkEnglisharrow-up5·2 天前Nah, you can use resume_offset instead. Here’s an example: https://forum.endeavouros.com/t/how-to-hibernate-with-btrfs-swapfile-luks2-systemd-boot-dracut/55620/2
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up1·4 小时前I don’t think it’s needed anymore, afaik filesystem drivers are supposed to tell the kernel automagically
Nah, you can use
resume_offsetinstead.Here’s an example: https://forum.endeavouros.com/t/how-to-hibernate-with-btrfs-swapfile-luks2-systemd-boot-dracut/55620/2
I don’t think it’s needed anymore, afaik filesystem drivers are supposed to tell the kernel automagically