Created
August 23, 2020 19:43
-
-
Save sipsma/906b9843817f3a9f5b397845323b139f to your computer and use it in GitHub Desktop.
opaque doesn't count if root of lowerdir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls | |
1 2 merged | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls * | |
1: | |
foo | |
2: | |
foo | |
merged: | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls {1,2}/foo | |
1/foo: | |
1 | |
2/foo: | |
2 | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# xattr {1,2}/foo | |
1/foo: trusted.overlay.opaque | |
2/foo: trusted.overlay.opaque | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# mount overlay -t overlay -o lowerdir=1:2 merged/ | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls merged/ | |
foo | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls merged/foo/ | |
1 | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# umount merged | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# mount overlay -t overlay -o lowerdir=1/foo:2/foo merged/ | |
root@bincastle-dev:/home/sipsma/tmp/test-opq# ls merged/ | |
1 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment