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

close [#376 #379]: Symlink data folders to /var #380

Merged
merged 4 commits into from
Nov 21, 2024

Conversation

taukakao
Copy link
Member

This PR moves all folders that have persistent data from the root to /var. This will ensure that all user edited files are kept across upgrades.

This also makes use of symlinks instead of bind mounts since this is more flexible. It allows mounting something to /home for example, since that will automatically mount to /var/home due to the symlink, which was not possible before.

I recommend reviewing the commits instead of all changes, since all changes combined might be a bit confusing.

Closes #376
Fixes #379

@taukakao taukakao requested a review from matbme November 12, 2024 23:36
This was referenced Nov 12, 2024
@taukakao taukakao marked this pull request as ready for review November 13, 2024 21:46
@taukakao taukakao merged commit b6301c3 into Vanilla-OS:main Nov 21, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

multiple folders loose state on each upgrade make it possible to mount a custom home partiton
3 participants