On Mon, 2006-04-03 at 14:34 +0200, Ulli Hochholdinger wrote:
> 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

that's your problem, if you modify the union's sources directly (not
through unionfs) you mess up unionfs.

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

Reply via email to