On Sun, 08 Aug 2010 21:43:51 +0900, sfjro wrote:

> Did it really fail on your side?
> In the previous script, I tried "echo brabra >> u/d2/1" and aubrsync
> again, and "ro_mid/d2/1" was updated expectedly.

My mistake. I've totally misunderstood the --delete-before meaning.
thanks for double checking.

Ok, hope I'm reporting a real bug this time -- aubrsync need to use real 
path:

cd /dev/shm
mkdir tmp_real
ln -s tmp_real tmp

% cd tmp
/dev/shm/tmp

rm -fr u rw ro_mid ro_bot
mkdir u rw ro_mid ro_bot
mount -t aufs -o br:rw:ro_mid=ro+wh:ro_bot none u

aubrsync _move u rw ro_bot \
        "--remove-source-files \
        --exclude=$AUFS_WH_BASE --exclude=$AUFS_WH_PLINKDIR --exclude=
$AUFS_WH_ORPHDIR \
        --max-delete=0 \
        rw/ ro_mid"
/dev/shm/tmp/u
/dev/shm/tmp/rw
/dev/shm/tmp/ro_bot
aubrsync: bad /proc/mounts or /dev/shm/tmp/u is not mounted

$ mount | tail -1
none on /dev/shm/tmp_real/u type aufs (rw,relatime,si=a5a291796916262e)

% pwd
/dev/shm/tmp

$ realpath `pwd`
/dev/shm/tmp_real

Please verify. 

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