Support installations with swap files
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 141
- Forks
- 146
- Avg merge
- 11h 7m
- Merged PRs (30d)
- 407
Description
Please confirm there isn't an existing open bug report
- I have searched open bugs for this issue
Summary
On modern systems, it may be desirable to use a swap file instead of a separate swap partition. There are a few benefits of this:
- A swap file can be placed on any mounted file system
- A swap file can be set to any desired size
- Swap files are more space efficient
Users on older hardware may still have a better experience with a separate swap partition, so support for both should be kept, assuming we decide to support files. The Calamares installer can automatically create a swap file during installation if enabled for the swap dropdown menu, and it seems to Just Work ™️ in a VM using BTRFS. Of course, that's only one possible configuration. It would also have the downside of increasing our release testing matrix.
Steps to reproduce
n/a
Expected result
n/a
Actual result
n/a
Environment
- Is system up to date?
Repo
Unstable
Desktop Environment
Budgie
System details
n/a
Other comments
This is the closest template we have for a feature request.
Contributor guide
No contributing guide indexed for this repository
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
No files, tests, or entry points are identified in the issue. First locate the installation and swap-selection code, then clarify the supported swap-file configurations and testing scope; done means installations can offer swap files while retaining swap-partition support.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100