浏览代码

ovl: document lower layer ordering

Reported-by: Fabian Sturm <fabian.sturm@aduu.de> 
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Miklos Szeredi 10 年之前
父节点
当前提交
6d900f5a33
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      Documentation/filesystems/overlayfs.txt

+ 6 - 2
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