Hi everyone!
I'm still stuck on copy-up on Squeeze:(
For testing purposes I have created a file under a new  directory
/var/testing/zebulon.txt. After fully booted Squeeze I have do my script
which was at start before all other thing in /etc/rcS.d
mount -t tmpfs none /mnt/var         #create a writable place for some
                                     #parts of /var
tar -xzf /boot/aufs_mnt_var.tar.gz   #it's fills up the /mnt/var with a
                                     #part of directories and files from /var
mount -t aufs -o br:/mnt/var:/var none /var

Each directories /mnt/var and /var are writable, now for sure, but if I
append something to /var/testing/zebulon.txt immediately create an updated
version for /mnt/var/testing/zebulon.txt and after reboot changes are lost
in /var/testing/zebulon.txt
What could be wrong?
Do I need explicitly declare that /var is also writable?
mount -t aufs -o br:/mnt/var:/var=wr none /var

May be the default policy=copy-up was changed at compile time of binary
package, or when module is loaded the default behavior is overwritten?
Any suggestion? Ideas?

Sincerely
  tovis



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d

Reply via email to