Hi,
I noticed possibly a bug when copying files on the same destination.
This is tested with unionfs-1.0.14 and linux-2.4.32 also on 
unnionfs-cvs-snapshot20060321-1635 and linux-2.6.16

Setup is:
rootfs is unionfs with tmpfs rw and disk partition ro
router:~# unionctl / --list
        /changes (rw-)
        /root_partition (r--)

router:~# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw)
tmpfs on /changes type tmpfs (rw)
/dev/hda2 on /root_partition type ext3 (ro,data=ordered)
none on / type unionfs
(rw,dirs=/changes=rw:/root_partition=ro,debug=0,delete=whiteout)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)

Now root_partition is remounted rw
then I copy some files from /etc to /root_partition/etc (to save
changes): cp -a /etc/passwd /root_partition/etc

After this copy-action the copied files in /etc and /root_partition/etc 
are empty.




Gruss
        Ulli

-- 
\                                                   E-Mail: [EMAIL PROTECTED] \
/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ /
\ Sometimes I think the surest sign that intelligent life exists elsewhere \
/ in the universe is that none of it has tried to contact us. (calvin)     /

_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to