"tovis":
> This was only the first try. For now I'm trying to refine this option, for
> example put logs to the tmpfs but save crontabs to USB. I have deleted

For such purpose, I'd suggest you NOT to use aufs.
# mount /dev/your/USB /var
# mount -t tmpfs /var/log
should be enough (the initial logs files are empty though).
Of course,  you should do it BEFORE you start log daemon.


> from /mnt/var (on tmpfs) neer everything what I want to be save on USB,
> for example /var/lib/alsa/asound.state or /var/spool. On /mnt/var there
> are no directories such as /mnt/var/lib/alsa or /mnt/var/spool. But, as
> I'm realized they are still written to tmpfs :( I'm afraid that the
> problem is that I'm creating branch at boot time when only rootfs is
> mounted, no real read-write USB partition, and aufs register /var as read
> only.

Unfortunately I don't understand what you wrote and what you want to do.


> I have read manual, and found this part, but what is confuse me - sorry
> about - that this small script remount ro every mount, and also those
> things about xino - where is my xino? Some settings on Squeeze placed to

You can see the path of your XINO via /sys/fs/aufs/si_*/xino.


J. R. Okajima

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