Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify handling of swap space in docs and void-installer #647

Open
camoz opened this issue Dec 29, 2021 · 0 comments
Open

Unify handling of swap space in docs and void-installer #647

camoz opened this issue Dec 29, 2021 · 0 comments

Comments

@camoz
Copy link
Contributor

camoz commented Dec 29, 2021

Right now the official docs say in chroot.md for swap in the fstab:

UUID=1cb4[...]  swap        swap    rw,noatime,discard      0 0

fde.md says:

/dev/voidvm/swap  swap  swap    defaults              0       0

The void-installer does:

echo "UUID=$uuid none swap sw 0 0" >>$TARGET_FSTAB

Archwiki says:

UUID=device_UUID none swap defaults 0 0

fstab(5) says:

  • for swap, use none for second field

If the discard option is used, then probably the docs + installer should also say/do swapon -d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant