Say I have an arbitrary number of directories, labeled by numbers.
I also have the directory merge
.
I can do
mount -t overlay -olowerdir=1:2:50 overlay merge
to get the contents of 1
, 2
, and 50
in merge
.
What is the best way to 'add' more directories to the overlay, say, 23
, 81
, and 457
as if I had done the command
mount -t overlay -olowerdir=1:2:50:23:81:457 overlay merge
in the first place?
If I want to "unoverlay" a certain directory, say 23
, can I do it without unmounting the entire thing?
Conceptually, I guess you could say I want an arbitrary number of directories on the same "level" of overlay.
merge
removing 23 from the list, with the earliermount
still present but inaccessible. – muru Jun 22 '15 at 02:43mount -o remount,overlaydir=foo:bar:blah
stuff. – Mingye Wang Jun 22 '15 at 03:45