Skip to content

mount: Consistently use composefs as source#303

Merged
giuseppe merged 1 commit intocomposefs:mainfrom
cgwalters:mount-source
Jul 18, 2024
Merged

mount: Consistently use composefs as source#303
giuseppe merged 1 commit intocomposefs:mainfrom
cgwalters:mount-source

Conversation

@cgwalters
Copy link
Copy Markdown
Contributor

The "source" field for overlayfs isn't strictly meaningful, by default; but it's useful to identify at least the software that created the mount.

Motivated by https://gitlab.com/redhat/centos-stream/containers/bootc/-/issues/301 where some QE testing noticed that an updated composefs using the new mount API didn't specify the source at all, so it ends up as none, but if we fall back to the legacy one it uses overlayfs.

Change both to be composefs.

The "source" field for overlayfs isn't strictly meaningful,
by default; but it's useful to identify at least the software that
created the mount.

Motivated by https://gitlab.com/redhat/centos-stream/containers/bootc/-/issues/301
where some QE testing noticed that an updated composefs using
the new mount API didn't specify the source at all, so it ends up as
`none`, but if we fall back to the legacy one it uses `overlayfs`.

Change both to be `composefs`.

Signed-off-by: Colin Walters <walters@verbum.org>
Copy link
Copy Markdown
Collaborator

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants