Skip to contentSkip to conversation

mount_union.py: Filesystem type for overlayfs changed

PATCH New Sedat Dilek 1 participant 1 message Feb 22, 2015 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mount_union.py: Filesystem type for overlayfs changed

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.

---
 mount_union.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mount_union.py +1 -1
index 4999daa40989..e1963d6eb22a 100644
@@ -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)
Signature · 1 line
2.3.0