T o n g:
> mount -t aufs -o br:./rw:./ro2=wh:./ro1 none ./u
I am afraid this branch permission "=wh" returned an error.
Did it really succeed?
> $ ls u/d?
> u/d1:
> 1 2 3 4 5 6 7 8 9 four
:::
> $ find ro2
:::
> ro2/d1/.wh.2
> ro2/d1/.wh.3
> ro2/d1/four
> ro2/d1/.wh.4
Because the permission "=wh" returned an error, the whiteout ".wh.4" has
no effect. And "ls u/d?" showed "4", I guess.
> % aubrsync _move u rw/ ro1/ '--remove-source-files --exclude=.wh..wh.*
> rw/ ro2'
:::
> ++ rsync --exclude=lost+found -aHSx --devices --specials --delete-before
> --remove-source-files '--exclude=.wh..wh.*' rw/ ro2
:::
> See, all the previous content have gone.
Because "--delete-before" is specified.
How about specifying "--max-delete=0"? But this option depends upon your
rsync version.
> Could you double check please?
I don't think you expect me to double check what you did. :-)
J. R. Okajima
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev