Messages in this thread | | | Date | Thu, 15 May 2014 13:12:06 -0500 | From | Seth Forshee <> | Subject | Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces |
| |
On Thu, May 15, 2014 at 05:42:54PM +0000, Serge Hallyn wrote: > > > Serge mentioned something to me about a loopdevfs (?) thing that someone > > > else is working on. That would seem to be a better solution in this > > > particular case but I don't know much about it or where it's at. > > > > Ok, let's see those patches then. > > I think Seth has a git tree ready, but not sure which branch he'd want > us to look at.
I think the most recent code I've got is the devloop branch of http://kernel.ubuntu.com/git/sforshee/ubuntu-trusty.git, which is still a bit messy but gets the idea across. I switched from that to the devtmpfs approach though for several reasons: the psuedo-fs approach required some (in my opinion) undesirable collateral changes, it would require changes to userspace tools (though likely small), and it solves the problem only for loop devices. Plus if you don't push namespace awareness down to at least the generic block layer you still can't do partitions or encrypted loop, and then there are still other problems which need to be solved to get partition blkdevs inside the mount.
| |