Hi Junjiro,

I found a bug about aubrsync, I wanted to copy only the RW branch but it 
copied the whole aufs fs over:

mkdir rw ro1 ro2 u
mkdir ro1/d1
seq 10 | xargs -i touch ro1/d1/{}

$ ls ro1/d1
1  10  2  3  4  5  6  7  8  9

mount -t aufs -o br:./rw:./ro2:./ro1 none ./u
mkdir ./u/d2
seq 6 | xargs -i touch u/d2/{}

aubrsync move ./u ./rw ./ro2
+ mount -o remount,ro,udba=reval,noshwh /dev/shm/aumt/u
+ eval ' move '
++ move
++ _move /dev/shm/aumt/u/ /dev/shm/aumt/ro2
         ^^^^^^^^^^^^^^^^
++ set +x
aubrsync: warning, -i is not specified
++ rsync --exclude=lost+found -aHSx --devices --specials --delete-before /
dev/shm/aumt/u/ /dev/shm/aumt/ro2
++ '[' 0 -eq 1 ']'
++ xargs -r0 rm -fr
 . . .

$ ls ./ro2/d?
./ro2/d1:
1  10  2  3  4  5  6  7  8  9

./ro2/d2:
1  2  3  4  5  6

Ideally, only d2 should be copied over, not d1. 

Please investigate. 

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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

Reply via email to