On Mon, 2009-03-02 at 21:33 +0900, [email protected] wrote:
> Hi,
> 
> William Grant:
> > > I will try ubuntu jaunty kernel with the latest aufs1. I am afraid it
> > > may take some days. Currently I am unsure what is wrong at all.
> > 
> > Thanks! aufs is a great piece of software.
> 
> I build the latest ubuntu jaunty kernel and aufs1 20090126, and it
> worked expectedly.

That is really, really odd... Is the correctness reproducible? It does
seem to work once if you do it at just the right time.

> Compile
> - remove include/linux/aufs_type.h in jaunty.
> - add NULL to some vfs helpers as your patch.

That's exactly what I did. How exactly are you building aufs?

> Run
> $ sudo mount jrohome:/tmp1 /mnt
> $ sudo mount -t aufs -o br:/mnt none /tmp/au
> $ ls -l /tmp/au/a /mnt/a
> /mnt/a:
> total 4
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> /tmp/au/a:
> total 4
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> server$ echo blah > blah
> 
> $ ls -l /tmp/au/a /mnt/a
> /mnt/a:
> total 8
> -rw-r--r-- 1 jro jro   5 Mar  2 21:26 blah
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> /tmp/au/a:
> total 8
> -rw-r--r-- 1 jro jro   5 Mar  2 21:26 blah
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> server$ echo blah >> blah
> 
> $ ls -l /tmp/au/a /mnt/a
> /mnt/a:
> total 8
> -rw-r--r-- 1 jro jro  10 Mar  2 21:27 blah
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> /tmp/au/a:
> total 8
> -rw-r--r-- 1 jro jro  10 Mar  2 21:27 blah
> -rw-r--r-- 1 jro jro 719 Feb  4 21:50 test_rmdir.sh
> 
> 
> One more question.
> How did you mount your /tmp/src/aufstest?

Using just the command you did, except of course for differing paths:

$ sudo mount server:/export/home /tmp/src

> There seems to exist another /tmp/src/aufstest. I mean the one aufs
> refers seems to be different from /tmp/src/aufstest you see.

The only other /tmp/src/aufstest is the unmounted copy.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

Reply via email to