linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miklos Szeredi <miklos@szeredi.hu>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andy Whitcroft <apw@canonical.com>,
	Serge Hallyn <serge.hallyn@ubuntu.com>,
	Neil Brown <neilb@suse.de>,
	linux-unionfs@vger.kernel.org,
	Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: How to cope with two incompatible overlayfs formats out in the wild
Date: Wed, 19 Nov 2014 09:19:34 +0100	[thread overview]
Message-ID: <CAJfpeguf2s1dqFmZe4z=4ucdsC6FpcJSrQSjNw+shPf0uT8LGQ@mail.gmail.com> (raw)
In-Reply-To: <20141119015908.GV7996@ZenIV.linux.org.uk>

On Wed, Nov 19, 2014 at 2:59 AM, Al Viro <viro@zeniv.linux.org.uk> wrote:
> On Tue, Nov 18, 2014 at 03:28:03PM +0100, Miklos Szeredi wrote:
>
>> So from mainline we need two things:
>>
>>   - when mounting distinguish between old and new format.
>>
>>   - userspace can detect which formats are supported by the kernel.
>>
>> If we'd have a different filesystem type for the old and new formats,
>> then that would solve both (checking /proc/filesystems would indicate
>> which one is supported).
>>
>> Unfortunately that would mean having to change "overlayfs" type to
>> something else in 3.18.  Question is, is there some sane name which
>> would fit?  "overlayfs2" is perhaps the best, but I'm not overly
>> enthusiastic about it.
>>
>> Any other ideas?
>
> Umm...  What does the old one do when it sees workdir=<something> in the
> options?

Returns EINVAL.

Also the new one will fail without the "workdir=" option, as far as
3.18 is concerned at least.  With the multi layer support work that
option won't be mandatory any more.

But that still doesn't answer the question on how to select the format.

Thanks,
Miklos

  reply	other threads:[~2014-11-19  8:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 14:28 How to cope with two incompatible overlayfs formats out in the wild Miklos Szeredi
2014-11-18 17:07 ` Andy Whitcroft
2014-11-19  1:59 ` Al Viro
2014-11-19  8:19   ` Miklos Szeredi [this message]
2014-11-19 14:29 ` Miklos Szeredi

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='CAJfpeguf2s1dqFmZe4z=4ucdsC6FpcJSrQSjNw+shPf0uT8LGQ@mail.gmail.com' \
    --to=miklos@szeredi.hu \
    --cc=apw@canonical.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=serge.hallyn@ubuntu.com \
    --cc=torvalds@linux-foundation.org \
    --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).