3 # fstab-compatible mount script for fuse-xattrs -overlay fs
23 echo "mount.xattrovlfs: unknown parameter: $1" >&2
30 if [[ $sourcestring =~ xattrovl
:(.
+) ]]
32 sourcedir
=${BASH_REMATCH[1]}
34 sourcedir
=$sourcestring
37 fsname
="xattr-overlay($sourcedir)"
39 declare -a fuse_options
=()
44 default|rw
) true
;; # ignore
45 ro
) echo "mount.xattrovlfs: readonly is not supported" >&2
48 *) fuse_options
+=(-o "$opt")
54 fuse-xattrs
"$sourcedir" "$targetdir" -o fsname
="$fsname" "${fuse_options[@]}"