[Voyage-linux] [svn] - question on rev134 and rev136
Darshaka Pathirana
(spam-protected)
Tue Feb 2 23:31:42 HKT 2010
Hi Punky!
I have some questions after finally updating my repository.
% svn -r 133:134 diff
Index: config/chroot_local-hooks/043-setup_etc
===================================================================
--- config/chroot_local-hooks/043-setup_etc (revision 133)
+++ config/chroot_local-hooks/043-setup_etc (revision 134)
@@ -64,7 +64,9 @@
#################################
#echo -n "Modifying /etc/init.d/mountall.sh ... "
-#echo "tar -C /ro -cf - . | tar -C /rw -xf - > /dev/null 2>&1" >> /etc/init.d/mountall.sh
+mkdir /ro
+#echo "tar -C /ro -cf - . | tar -C /lib/init/rw -xf - > /dev/null 2>&1" >> /etc/init.d/mountall.sh
+
#cat >> /etc/init.d/mountall.sh <<EOF
#mkdir -p /rw/var/log > /dev/null 2>&1
#mount -t aufs -o dirs=/rw/var/log:/var/log=ro none /var/log > /dev/null 2>&1
% svn -r 135:136 diff
Index: config/chroot_local-hooks/042-setup_rw
===================================================================
--- config/chroot_local-hooks/042-setup_rw (revision 135)
+++ config/chroot_local-hooks/042-setup_rw (revision 136)
@@ -2,6 +2,8 @@
#################################
+/usr/local/sbin/voyage-rwfile.sh create /var/lib/logrotate
+
exit
echo -n "Installing /ro and /rw directories ... "
Why did you reintroduce /ro ? I just end up with
"/ro/var/lib/logrotate". Why not add "/var/lib/logrotate" to
VOYAGE_SYNC_DIRS and keep it in the tmpfs?
(Or did I get something completely wrong?)
Greetings,
- Darsha
More information about the Voyage-linux
mailing list