Andreas Bsching:
> And again I forget to explain something :-(
:::
> [EMAIL PROTECTED]:~# find /union/ /branch_rw /branch_ro/ | grep dir6
> /union/dir1/dir6
> /union/dir1/dir6/file1
> /union/dir1/dir6/file2
> /branch_ro/dir1/dir6
> /branch_ro/dir1/dir6/file1
> /branch_ro/dir1/dir6/file2
>
> dir1/dir6 is just found in /branch_ro
My description in my previous mail (and in aufs manaul) was not enough.
When the dir exist on RO branch and it has children (file1 and file2 in
your case), aufs has to copy-up them recursivly. It is a heavy work for
a single systemcall and not supported currently.
> If I understand this correctly aufs can not move directories if they exist=
> =20
> in /branch_ro and /branch_rw. Is this correct?
Basically, yes.
Generally mv(1) supports this case. When rename(2) returns EXDEV error,
mv(1) retries its operation by mkdir/rename recursively and returns
success.
Junjiro Okajima
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone