Hi!

> J. R. Okajima
>
> I guess what you want is /sys/fs/aufs/si_*/br[0-9]*.
>
Thanks a lot! Why I'm do not seen it's in the documentation?

>> One more question, is it possible to change/modify a built up branch -
>> making rw from ro of the lower part?
> J. R. Okajima
>
> Try "mount -o remount,mod:/usb=ro /var"
>
>
I will try it.

About "my" technology to minimize writes on USB:
1. In the /etc/rcS.d/ I have put my little script for mounting aufs on
/var immediately after S07checkroot (after checkroot script USB as root is
mounted rw). Instantly I have do the next:
mount -t tmpfs none /mnt/var
tar -xzf /boot/aufs_mnt_var.tar.gz
mount -t aufs -o br:/mnt/var:/var=rw none /var

2. In the /etc/fstab I have mount over /tmp tmpfs.

That's all. I think it is simple enough. Juggling with mounts? Why? Why
are you (with Mike) suggest me do not use aufs? Even is it included to
Debian stable? - which mean for me it is highly strong and reliable.
Yes. I need a lot of help from you, and I've got it:) Thanks a lot again!

(After two hours of running the system with my application I have diskstat
for USB:
8 1 sda1 1540 141 78594 12892 43 4 472 8 0 5336 12896
what mean after two hours of working there was 43 completed write
operations on USB - it's more then a year of work before 10000 writes)

tovis

The aufs may be need better documentation, manual, with more examples of
using.



------------------------------------------------------------------------------
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