containers / composefs

a file system for mounting container images
GNU General Public License v2.0
421 stars 29 forks source link

mount: Consistently use `composefs` as source #303

Closed cgwalters closed 1 month ago

cgwalters commented 1 month ago

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.