summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2015-01-08 15:09:15 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2015-01-08 15:09:15 +0100
commit6d900f5a33393067e370736d39798f814f5e25cc (patch)
tree1cf78589fb809bbb2e5c3f62ffab4a7bea3b1c50
parentovl: Prevent rw remount when it should be ro mount (diff)
downloadlinux-6d900f5a33393067e370736d39798f814f5e25cc.tar.xz
linux-6d900f5a33393067e370736d39798f814f5e25cc.zip
ovl: document lower layer ordering
Reported-by: Fabian Sturm <fabian.sturm@aduu.de> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
-rw-r--r--Documentation/filesystems/overlayfs.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/filesystems/overlayfs.txt b/Documentation/filesystems/overlayfs.txt
index 006ea480506d..6db0e5d1da07 100644
--- a/Documentation/filesystems/overlayfs.txt
+++ b/Documentation/filesystems/overlayfs.txt
@@ -167,8 +167,12 @@ separator character between the directory names. For example:
mount -t overlay overlay -olowerdir=/lower1:/lower2:/lower3 /merged
-As the example shows, "upperdir=" and "workdir=" may be omitted. In that case
-the overlay will be read-only.
+As the example shows, "upperdir=" and "workdir=" may be omitted. In
+that case the overlay will be read-only.
+
+The specified lower directories will be stacked beginning from the
+rightmost one and going left. In the above example lower1 will be the
+top, lower2 the middle and lower3 the bottom layer.
Non-standard behavior