Hi,
You can read /etc/init.d/voyage-sync. Just put /var/www to the
SYNC_DIRS could solve your problem.
You can also refer to Mathias's syncro
http://user.enterpriselab.ch/~zdweber/syncro.html
Regards,
Punky
Russell Lang wrote:
I'm just started using voyage-lenny.
I'm trying to understand how aufs is configured.
Where is the command to create /var/log with aufs?
My understanding so far (correct me if I'm wrong):
There are an initial set of files for /var/log on the CF card.
When one of these files is changed, the CF read-only version is copied to RAM
and thereafter you see the read-write RAM version (on the upper branch).
When you shutdown, the read-write RAM version is discarded, unless you do
the following: auplink /var/log cpup
How does /lib/init/rw get used?
I'm using lighttpd. What I would like to do is make branch on /var/www so there
are an initial set of files already there, but I can write additional files after the
system is booted. Some files need to already exist on the CF because you need
to specify ownership and permissions (e.g. errors.log). Other files can be
created after lighthttpd has started (e.g. access.log).
Another variation would be to make a user home directory into a union fs when
they log in, then write the changed files back to CF when they log out.
Russell Lang [email protected]
Ghostgum Software Pty Ltd http://www.ghostgum.com.au/
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux
_______________________________________________
Voyage-linux mailing list
[email protected]
http://list.voyage.hk/mailman/listinfo/voyage-linux