[PATCH] mount_union.py: Filesystem type for overlayfs changed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
 mount_union.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.3.0

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux