mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-18 03:35:34 -04:00

introduce a hash map to refer from an inode to the file paths. A recent change where we enable FUSE writeback by default uncovered an underlying issue in fuse-overlayfs where changes to a file with multiple links would not be visible from the other link. For each inode, maintain a list of nodes that refer to it, so that we can still access it when a link is removed and more importantly we can use the inode value with FUSE. Closes: https://github.com/containers/fuse-overlayfs/issues/108 Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1744109 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
fuse-overlayfs
An implementation of overlay+shiftfs in FUSE for rootless containers.
Limitations:
Read-only mode is not supported, so it is always required to specify an upperdir and a workingdir.
Usage:
$ fuse-overlayfs -o lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged
Specify a different UID/GID mapping:
$ fuse-overlayfs -o uidmapping=0:10:100:100:10000:2000,gidmapping=0:10:100:100:10000:2000,lowerdir=lowerdir/a:lowerdir/b,upperdir=up,workdir=workdir merged
Build Requirements:
fuse-overlayfs requires libfuse > v3.2.1
On Fedora: dnf install fuse3-devel
Static Build:
buildah bud -t fuse-overlayfs -f ./Dockerfile.static .
Description
Languages
C
61.4%
M4
33.3%
Shell
2.2%
Makefile
2.1%
Roff
0.7%
Other
0.3%