linuxPIPEpower@discuss.tchncs.deOPtoLinux@lemmy.ml•bind mount over a directory, how to access underlying files?
0·
3 days agoIdeally I’d like to avoid a script because my experience is they aren’t very durable. I make mistakes and they are difficult to troubleshoot. So I am trying to just use the tools that are already available in the system.
But maybe there is something in the idea of using a second mount, like if
/home/user/folderApple
is always empty/home/user/folderApple-original
mounts ontop of/home/user/folderApple
at boot- then
/mnt/drive/folderBanana
also mounts ontop of/home/user/folderApple
when/if it becomes available (later in the order)
In another subthread I came up with the below, is this what you mean? I haven’t tried it yet.
/home/user/folderApple
is always empty/home/user/folderApple-original
mounts ontop of/home/user/folderApple
at boot/mnt/drive/folderBanana
also mounts ontop of/home/user/folderApple
when/if it becomes available (later in the order)