Hi, >> 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.
> 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? You can get it from the Ubuntu repository: http://packages.ubuntu.com/ Kernel binary package (includes aufs.ko): http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.27-11-generic_2.6.27-11.27_amd64.deb More detailed tests: As the branches don't show up in /sys/fs for me, here are the relevant lines from /proc/mounts: 192.168.0.2:/netboot/64 /net-root nfs ro,vers=3,rsize=524288,wsize=524288,namlen=255,acregmin=300,acregmax=900,acdirmin=300,acdirmax=900,hard,nointr,nocto,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=192.168.0.2 0 0 tmpfs /local-root tmpfs rw,mode=755 0 0 aufs / aufs rw,si=d8b1432463e2525,xino=/local-root/.aufs.xino,br:/local-root=rw:/net-root=ro 0 0 192.168.0.2:/netboot/64 /etc/netboot/readonly nfs ro,vers=3,rsize=524288,wsize=524288,namlen=255,acregmin=300,acregmax=900,acdirmin=300,acdirmax=900,hard,nointr,nocto,nolock,proto=tcp,timeo=7,retrans=10,sec=sys,addr=192.168.0.2 0 0 tmpfs /etc/netboot/writeable tmpfs rw,mode=755 0 0 Two were layers were made available in /etc/netboot via mount -o bind . > cd ~ > stat -c "%y %x" .hushlogin 2009-02-01 16:26:04.000000000 +0100 2009-02-01 16:26:04.000000000 +0100 > echo something >> .hushlogin > stat -c "%y %x" .hushlogin 2009-02-01 16:26:04.000000000 +0100 2009-02-01 16:26:04.000000000 +0100 > cd /etc/netboot/writeable/home/user > stat -c "%y %x" .hushlogin 2009-02-01 16:26:04.000000000 +0100 2009-02-01 16:26:04.000000000 +0100 > echo asdf >> .hushlogin > stat -c "%y %x" .hushlogin 2009-02-01 16:26:04.000000000 +0100 2009-02-01 16:26:04.000000000 +0100 > cat .hushlogin something asdf Now it looks like it won't update the times on copied up files at all, even when I modify them directly on the writable layer. Cross-test to verify that tmpfs isn't broken: > grep /tmp /proc/mounts tmpfs /tmp tmpfs rw 0 0 > cd /tmp > stat -c "%y %x" file 2009-02-05 20:15:07.516180916 +0100 2009-02-05 20:14:40.721493822 +0100 > echo asdf >> file > stat -c "%y %x" file 2009-02-05 20:15:19.694257382 +0100 2009-02-05 20:14:40.721493822 +0100 Any ideas? Greets, ~Mattias
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ 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