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

From: Valerie Aurora
Date: Wed Aug 04 2010 - 15:50:43 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at