I’m trying to use OverlayFS, but it doesn’t seem to work at all. Here’s a line I found on Arch Wiki (I’ve put it in /etc/fstab):
overlay /merged overlay noauto,x-systemd.automount,lowerdir=/lower,upperdir=/upper,workdir=/work 0 0
I’ve created all these folders, rebooted and all that happened is /merged folder disappeared. When I use ls command it outputs this:
ls: cannot access 'merged': No such device
It works without x-systemd.automount, but only if folders are on the same partition. Otherwise the system wont boot at all (something about local file systems dependecy).