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

Use a fixed directory in /run/... as lower dir #66

Open
travier opened this issue Jan 30, 2025 · 1 comment
Open

Use a fixed directory in /run/... as lower dir #66

travier opened this issue Jan 30, 2025 · 1 comment

Comments

@travier
Copy link
Member

travier commented Jan 30, 2025

Until we start using and relying on loop less mounting / direct file/fd mounting, we should use a fixed directory in /run/... as lower dir instead of a temporary one in /tmp.

[root@fedora ~]# findmnt /
TARGET SOURCE FSTYPE  OPTIONS
/      none   overlay ro,relatime,seclabel,lowerdir+=/tmp/.tmpvKg9Y9,datadir+=/sysroot/composefs/objects,redirect_dir=on,metacopy=on,verity=require

composefs/ostree:

coreos@fcos$ findmnt /
TARGET SOURCE    FSTYPE  OPTIONS
/      composefs overlay ro,relatime,seclabel,lowerdir+=/run/ostree/.private/cfsroot-lower,datadir+=/sysroot/ostree/repo/objects,redirect_dir=on,metacopy=on
@travier travier changed the title Use a fixed directory in /run/... as lower dir Use a fixed directory in /run/... as lower dir Jan 30, 2025
@allisonkarlitskaya
Copy link
Collaborator

More likely to go with #64 on this one...

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

2 participants