Hello Mattias,

Mattias Schffersmann:
> When appending to a file that exists on a lower layer but doesn't
> exist on a writable layer yet, the file will be copied up but the
> timestamps won't be updated even after closing the file. Once the
> file exists on a writable layer, the timestamps are updated on
> write as expected.
> 
> I'm using the aufs (version 20080922) and kernel (2.6.27-11) from
> the Ubuntu Intrepid (8.10) repository.
> 
> Could someome try to reproduce this behaviour? Maybe it's already
> fixed in the newest aufs version, even though the changelog
> doesn't list any related changes.

I don't remember such problem.
I have tested what you wrote with "aufs 20080922" and linux-2.6.27 and
it succeeded. See below.

I may have to check the kernel in Ubuntu. Where can I get it?

----------------------------------------------------------------------
/dev/loop0 /dev/shm/ro ext2 ro,errors=continue 0 0
/dev/loop1 /tmp/nfsv3/tmp/rw ext2 rw,errors=continue 0 0
localhost:/tmp/nfsv3/tmp/rw /dev/shm/rw nfs 
rw,vers=3,rsize=16384,wsize=16384,namlen=255,hard,intr,proto=udp,timeo=11,retrans=3,sec=sys,addr=127.0.0.1
 0 0
none /dev/shm/u aufs rw,si=fe0c738e,xino=/dev/shm/xino,udba=inotify 0 0

+ cd /dev/shm/u
+ cat /sys/fs/aufs/si_fe0c738e/br0 /sys/fs/aufs/si_fe0c738e/br1
/dev/shm/rw=rw
/dev/shm/ro=ro
+ ls -l ../ro/f_src ../rw/f_src
ls: ../rw/f_src: No such file or directory
-rw-r--r-- 1 jro jro 2 Feb  5 23:07 ../ro/f_src
+ stat -c %y f_src
2009-02-05 23:07:46.000000000 +0900
+ sleep 1
+ echo something >> f_src
+ stat -c %y f_src
2009-02-05 23:07:49.000000000 +0900


J. R. Okajima

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

Reply via email to