CryoByte33/steam-deck-swap-resizer

Btrfs support

Closed this issue · 4 comments

The script as is won't work for those of us that have changed the deck's /home to Btrfs, as the swap file needs to be created in a subvolume with CoW disabled.

See https://wiki.archlinux.org/title/btrfs#Swap_file

If I find the time I may do a pull request implementing this.

Hey, just letting you know that this should work as of #4 being merged. It doesn't actually overwrite the swap file now and just resizes it through the symlink placed in /home.

Has something recently changed?

oh, I hadn't noticed that symlink, my bad xD

So I guess my pull request (#9) is unnecessary, though it may still be useful as some sort of future-proofing.

No problem, thanks for the PR! I have an update coming out in the next week or so and may include your code, if that's alright?

Of course it's alright, otherwise I wouldn't have made a PR :)