Se eu executar o seguinte ...
# Create parent overlay
mkdir overlay-test
mkdir overlay-test/upper
mkdir overlay-test/lower
mkdir overlay-test/work
mkdir overlay-test/dest
mount -t overlay overlay -o workdir=overlay-test/work,upperdir=overlay-test/upper,lowerdir=overlay-test/lower overlay-test/dest
# Create nested overlay
mkdir overlay-test/dest/inner
mkdir overlay-test/dest/inner/upper
mkdir overlay-test/dest/inner/lower
mkdir overlay-test/dest/inner/work
mkdir overlay-test/dest/inner/dest
mount -t overlay overlay -o workdir=overlay-test/dest/inner/work,upperdir=overlay-test/dest/inner/upper,lowerdir=overlay-test/dest/inner/lower overlay-test/dest/inner/dest
... eu entendo isso ...
mount: /home/pknopf/overlay-test/dest/inner/dest: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
Se eu montar tmpfs
on overlay-test/dest/inner
antes de fazer a sobreposição interna, funcionará.
Existe algum truque para fazer isso funcionar que não envolva tmpfs
?