nextcloud / nextcloud/nextcloudpi
Improve nc-swapfile.sh
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Description
Hi everyone,
I use btrfs on my external drive. When I want to switch the location of my swap file it tells me "BTRFS doesn't support swapfiles. You can still use nc-zram". As far as I know btrfs supports swap files for some time now. Maybe the script should be edited accordingly.
Thank you.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with nc-swapfile.sh and trace the condition that reports BTRFS does not support swapfiles. Check the current supported behavior for BTRFS before changing the script. Done means the script handles supported BTRFS swapfile locations without the outdated warning while retaining appropriate behavior for unsupported cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100