linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mount_union.py: Filesystem type for overlayfs changed
@ 2015-02-22 15:27 Sedat Dilek
  0 siblings, 0 replies; only message in thread
From: Sedat Dilek @ 2015-02-22 15:27 UTC (permalink / raw)
  To: David Howells, Miklos Szeredi, Al Viro, linux-fsdevel; +Cc: Sedat Dilek

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-22 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-22 15:27 [PATCH] mount_union.py: Filesystem type for overlayfs changed Sedat Dilek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).