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.

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

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?
There seems to exist another /tmp/src/aufstest. I mean the one aufs
refers seems to be different from /tmp/src/aufstest you see.


J. R. Okajima

------------------------------------------------------------------------------
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