[Voyage-linux] 'var' directory : I'm very confused

Roberto (spam-protected)
Mon Jun 12 00:24:24 HKT 2006


First of all, thank you very much for your answers :-)

Kim-man "Punky" TSE ha scritto:
> Roberto,
>
> Since /var/log reside in /rw, all your changes in /var/log will not be 
> preserved after reboot.  There are two ways to resolve:
>
> 1. After apt-get install, copy /var/log/squid back to /ro; or

Ok, but what appens to my 'new' logs, after a reboot?
in other words: after apt-get install, I copy /var/log/squid to 
/ro/var/log/squid. Then I begin to use squid; new logs are written (for 
instance) in /var/log/squid/access.log .
On next reboot, my 'new' access.log will be lost, and the 'original' 
(empty) access.log will be restored . Correct?

> 2. In /etc/voyage.conf, add /var/log/squid in VOYAGE_SYSTEM_SYNCDIRS.

Seems like this one could be a solution to my problem. In this moment I 
haven't a 'voyage.conf' to consult.
Are the VOYAGE_SYSTEM_SYNCDIRS synced (copied from /rw to /ro) each time 
I 'poweroff' the system?

>
> Look at /etc/init.d/voyage-util, you will get the hint how to disable 
> remountro.

Ok I will take a look.
Tank you very much.

Roberto





More information about the Voyage-linux mailing list