funionfs (1) - Linux Manuals
funionfs: user-space directory concatenation.
NAME
funionfs - user-space directory concatenation.SYNOPSIS
funionfs upper_dir mountpoint [ option ] ...OPTIONS
Mount options include:
There is no implementation of -o delete and -o copyup for now.
You could use the mount command instead :
If you want to name all directories in '-o dirs=', then pass "none" as upper_dir
Probably minor (or major) mistakes in not-so-frequent cases.
Not enough tested.
funionfs_debug
dirs=LIST
/branch1=rw
/branch1
/branch2=ro
copyupuid=N
copyupgid=N
copyupmode=N
del_string=N
delete=TYPE
all
whiteout
copyup=TYPE
preserve
currentuser
mounter
mount -t fuse funionfs#/upper_dir mountpoint DESCRIPTION
funionfs
concatenates directories mentioned in options (and
upper_dir
) to
mountpoint.
Also, although some (but not all) of the directories are
read-only, you still can write in resulting mounted directory.
For example, if you have files
a/a
and
b/b
and mount mountpoint
r
with "-o dirs=a=ro:b=ro:w=rw", then you will see files
r/a
and
r/b.
You will be able to write to them, and original files will remain intact
(changes will go to
w
). Note that it is impossible to have file with name ending by
del_string
value, if you create
r/a_DELETED~
in mentioned example, it will dissapear together with a.
BUGS
You cannot mount an overlay on / (the program that list the content of / will hang). This is probably due to a loop call of the fuse driver. There is no known solution for now.