Re: [PATCH 21/38] union-mount: Support for mounting union mount file systems

From: Valerie Aurora
Date: Thu Aug 05 2010 - 00:26:38 EST


On Wed, Aug 04, 2010 at 03:50:08PM -0400, Valerie Aurora wrote:
> On Wed, Aug 04, 2010 at 04:55:39PM +0200, Miklos Szeredi wrote:
> > On Tue, 15 Jun 2010, Valerie Aurora wrote:
> > > Create and tear down union mount structures on mount. Check
> > > requirements for union mounts. This version clones the read-only
> > > mounts and puts them in an array hanging off the superblock of the
> > > topmost layer.
> >
> > If I do
> >
> > mount -r fs1 /mnt
> > mount -r fs2 /mnt
> > mount -ounion fs3 /mnt
> >
> > then only fs2 and fs3 will be unioned.
> >
> > Or how are multiple read-only layers supposed to work?
>
> You have it right, this is a bug in lookup in the last version I sent
> out. I had commented out the part of my test suite that actually
> tested three layer mounts so I didn't notice when I broke it. :/ I'll
> post a new version with the fix today.

Try branch "for_miklos" in:

git://git.kernel.org/pub/scm/linux/kernel/git/val/linux-2.6.git

It's against 2.6.34, I'm rebasing against 2.6.35 tomorrow.

-VAL
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/