Both OverlayFS and AuFS support a feature called *whiteout*. Consider we mount e.g. /tmp/guest-XXXX as a union of /tmp/.rw-guest-XXXX (read-write) on top of /etc/guest-session/skel (read-only). Whenever we remove a file/dir in /tmp/guest-XXXX which, in fact, resides on /etc/guest-session/skel, a whiteout record for this one is marked in /tmp/.rw-guest-XXXX, so that OverlayFS/AuFS keeps track of removal intention and hides this one from /tmp/guest-XXXX union, as if it was actually removed.
Robert,
Both OverlayFS and AuFS support a feature called *whiteout*. Consider we mount e.g. /tmp/guest-XXXX as a union of /tmp/.rw-guest-XXXX (read-write) on top of /etc/guest- session/ skel (read-only). Whenever we remove a file/dir in /tmp/guest-XXXX which, in fact, resides on /etc/guest- session/ skel, a whiteout record for this one is marked in /tmp/.rw- guest-XXXX, so that OverlayFS/AuFS keeps track of removal intention and hides this one from /tmp/guest-XXXX union, as if it was actually removed.