Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1401238

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

From James Bottomley <James.Bottomley@HansenPartnership.com>
Newsgroups linux.kernel
Subject Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems
Date 2016-05-16 04:10 +0200
Message-ID <rzg8W-u7-239@gated-at.bofh.it> (permalink)
References (8 earlier) <ry4W6-3UF-29@gated-at.bofh.it> <ry7hl-6XB-7@gated-at.bofh.it> <ryEwy-6u9-9@gated-at.bofh.it> <ryI77-1uw-1@gated-at.bofh.it> <rzg8X-u7-241@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 2016-05-14 at 21:21 -0500, Eric W. Biederman wrote:
> James if you could see shiftfs with a different set of merits than 
> what to Djalal is doing I think that would be useful.  As it would 
> allow everyone to concentrate on getting the bugs out of their
> solutions.

Just to reply to this specific point.  Djalal's patches can't actually
work for me because I use subtree based roots rather than whole fs
roots ... it's mostly because I work with image directories, not the
full mounted images themselves.  For stuff I unpack into /home, I could
see having /home on a separate directory and adding the vfs_shift_
flags.  however, I'm not doing (and it would be really unsafe to do)
that for / to get my images that unpack in /var/tmp (like the obs build
roots).

However, half the ugliness of the patch set is that it needs lower
layer FS support because vfs_shift_ are mount flags in the superblock. 
 If they were made subtree flags instead (so MNT_ flags), I think you
could eliminate the need to modify any underlying filesystems and they
would allow us to mark subtrees for shifting.  the mount command would
need modifying to add them (like it was for --shared and --private) so
we'd need an additional --vfs-shift --ufs-shift to mark the subtree but
then the series would work for bind mounting subtrees, which is what I
need.  And they would work for *any* filesystem without modification.

This would probably be the better of both worlds because it will work
for the docker case as well.

James

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Djalal Harouni <tixxdz@gmail.com> - 2016-05-12 22:00 +0200
  Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-13 00:30 +0200
    Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Djalal Harouni <tixxdz@gmail.com> - 2016-05-14 12:00 +0200
      Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-14 15:50 +0200
        Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-16 04:10 +0200
        Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems ebiederm@xmission.com (Eric W. Biederman) - 2016-05-16 04:10 +0200
          Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Seth Forshee <seth.forshee@canonical.com> - 2016-05-16 16:20 +0200
            Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems ebiederm@xmission.com (Eric W. Biederman) - 2016-05-16 19:00 +0200
              Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Seth Forshee <seth.forshee@canonical.com> - 2016-05-16 20:30 +0200
          Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-05-16 21:20 +0200
            Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems ebiederm@xmission.com (Eric W. Biederman) - 2016-05-18 01:00 +0200
          Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Djalal Harouni <tixxdz@gmail.com> - 2016-05-17 13:50 +0200
        Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems Djalal Harouni <tixxdz@gmail.com> - 2016-05-17 17:50 +0200

csiph-web