From: Sedat Dilek <sedat.dilek@gmail.com>
To: David Howells <dhowells@redhat.com>,
Miklos Szeredi <mszeredi@suse.cz>,
Al Viro <viro@zeniv.linux.org.uk>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Subject: [PATCH] mount_union.py: Filesystem type for overlayfs changed
Date: Sun, 22 Feb 2015 16:27:06 +0100 [thread overview]
Message-ID: <1424618826-5468-1-git-send-email-sedat.dilek@gmail.com> (raw)
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
reply other threads:[~2015-02-22 15:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424618826-5468-1-git-send-email-sedat.dilek@gmail.com \
--to=sedat.dilek@gmail.com \
--cc=dhowells@redhat.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=mszeredi@suse.cz \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).