From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sedat Dilek Subject: [PATCH] mount_union.py: Filesystem type for overlayfs changed Date: Sun, 22 Feb 2015 16:27:06 +0100 Message-ID: <1424618826-5468-1-git-send-email-sedat.dilek@gmail.com> Cc: Sedat Dilek To: David Howells , Miklos Szeredi , Al Viro , linux-fsdevel Return-path: Received: from mail-wg0-f46.google.com ([74.125.82.46]:54755 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751890AbbBVP1Y (ORCPT ); Sun, 22 Feb 2015 10:27:24 -0500 Received: by mail-wg0-f46.google.com with SMTP id a1so21371865wgh.5 for ; Sun, 22 Feb 2015 07:27:23 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --- 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