sf...@users.sourceforge.net:
> Lou Gosselin:
> > Test Case E # This won't work without the modified aufs...
> >  > mkdir -p union a/mnt/original_files
> >  > mount -t tmpfs tmpfs a/mnt
> >  > mkdir -p a/mnt/new_mount_files
> >  > mount -t aufs aufs union -o br:a:a/mnt
> >  > find
>
> I am reviewing the behaviour of overlapping, and found case E works too.
> Which version of aufs (and kernel) are you using?
>
> $ mkdir -p u a/mnt
> $ sudo mount -t tmpfs nont a/mnt
> $ sudo mount -t aufs -o br:a:a/mnt none u
> $

Lou and Barry,

Here is a new specification and a patch about overlapping, please review
and test it if you have time.

- /au = /br0 + /br1 ... + /brN
- /brX/dirA exists
- /brX/fs.img exists

                        old-spec        new-spec
--------------------------------------------------
append:/out/dirB        allow           allow
append:/brX/dirA        x               x       (Lou's case C)
append:/au/dirA         x               x

mount something at /brX/dirA,
append:/brX/dirA        allow           allow   (Lou's case E?)

mount something at /au/dirA,
append:/au/dirA         allow           allow

loopback mount /brX/fs.img at /out/dirB,
append:/out/dirB        x               ALLOW   (Barry may be interested)

loopback mount /au/fs.img at /out/dirB,
append:/out/dirB        x               x


J. R. Okajima

Attachment: a.patch.bz2
Description: BZip2 compressed data

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Reply via email to