diff mbox

mount_union.py: Filesystem type for overlayfs changed

Message ID 1424618826-5468-1-git-send-email-sedat.dilek@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sedat Dilek Feb. 22, 2015, 3:27 p.m. UTC
The filesystem type changed from "overlayfs" (old) to "overlay" (new)
with Linux v3.18.
See commit ef94b1864d1e ("ovl: rename filesystem type to "overlay"")).

So mount_union.py needs to be adapted.

TODO: Distinguish between old and new fs-type in mount_union.py script.

Tested against Linux-v3.19-9526-ga135c717d5cd plus vfs.git#for-linus.

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
---
 mount_union.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/mount_union.py b/mount_union.py
index 4999daa40989..e1963d6eb22a 100644
--- a/mount_union.py
+++ b/mount_union.py
@@ -27,6 +27,6 @@  def mount_union(ctx):
         workdir = upper_mntroot + "/work"
         os.mkdir(upperdir)
         os.mkdir(workdir)
-        system("mount -t overlayfs overlayfs " + union_mntroot +
+        system("mount -t overlay overlay " + union_mntroot +
                " -olowerdir=" + lower_mntroot + ",upperdir=" + upperdir + ",workdir=" + workdir)
         ctx.note_upper_fs(upper_mntroot, testdir)