Use a fixed directory in `/run/...` as lower dir

Open
#66 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Start by searching the repository for the temporary lower-directory setup described in issue 66 and review how the mount configuration is assembled. Compare the result with the composefs/ostree example, then validate completion by checking that findmnt reports a fixed lower directory under /run rather than a temporary path under /tmp.

Written by the indexing model from the issue text.

Description

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
Dominant language
Rust
Stars
93
Forks
30
Avg merge
2d 10h
Merged PRs (30d)
13

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from composefs/composefs-rs

All issues in composefs/composefs-rs

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.