diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2014-12-12 18:59:52 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2014-12-12 18:59:52 -0500 |
commit | a78d9f0d5d5ca9054703376c7c23c901807ddd87 (patch) | |
tree | 956a4d1e7517b9ead6f6f101dbfc1f344bec87fd /Documentation | |
parent | 53a08cb9b8bccfe58f1228c7c27baf34a83da78b (diff) |
ovl: support multiple lower layers
Allow "lowerdir=" option to contain multiple lower directories separated by
a colon (e.g. "lowerdir=/bin:/usr/bin"). Colon characters in filenames can
be escaped with a backslash.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/filesystems/overlayfs.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/filesystems/overlayfs.txt b/Documentation/filesystems/overlayfs.txt index a27c950ece61..b37092886dcc 100644 --- a/Documentation/filesystems/overlayfs.txt +++ b/Documentation/filesystems/overlayfs.txt | |||
@@ -159,6 +159,18 @@ overlay filesystem (though an operation on the name of the file such as | |||
159 | rename or unlink will of course be noticed and handled). | 159 | rename or unlink will of course be noticed and handled). |
160 | 160 | ||
161 | 161 | ||
162 | Multiple lower layers | ||
163 | --------------------- | ||
164 | |||
165 | Multiple lower layers can now be given using the the colon (":") as a | ||
166 | separator character between the directory names. For example: | ||
167 | |||
168 | mount -t overlay overlay -olowerdir=/lower1:/lower2:/lower3 /merged | ||
169 | |||
170 | As the example shows, "upperdir=" and "workdir=" may be omitted. In that case | ||
171 | the overlay will be read-only. | ||
172 | |||
173 | |||
162 | Non-standard behavior | 174 | Non-standard behavior |
163 | --------------------- | 175 | --------------------- |
164 | 176 | ||