// reference
prismafs ns
ns is a Linux namespace model (Linux mount namespaces). In this case, layered view binds over existing path, but it is within private namespace. Every different process on system outside of it (different terminal, etc.), sees real and unmodified path.
export SESSION_LAYER_DIR=/tmp/session export BASE_LAYER_DIRS=/tmp/base prismafs ns /home/alice -- bash
Within this bash, /home/alice looks like normal home directory but every change goes to /tmp/session. Every read thats not in session goes through /tmp/base. So, if you install a package, edit config, delete files, this doesn't affect real /home/alice. And for example, if you have second terminal opened (without prismafs ns), it will still see unmodified real directory.
When you exit (bash from above example), /home/alice is back to its real state, because bind mount and private namespace existed just for the lifetime of its process tree.