[Voyage-linux] sync_dir dot files missing
Kim-man 'Punky' TSE
(spam-protected)
Fri Oct 16 09:24:25 HKT 2009
Hi Wayne,
Please help do some test, change /etc/init.d/voyage-sync:
cp -rp $2/* $3/
to
cp -rp $2/. $3/
rsync -a -q --delete-after /$SYNC_DIR/* /.sync/$SYNC_DIR
to
rsync -a -q --delete-after /$SYNC_DIR/. /.sync/$SYNC_DIR
for P in `lsof -F p /$SYNC_DIR/*`
to
for P in `lsof -F p /$SYNC_DIR/.`
See if it works and report.
- Punky
Wayne Lee wrote:
> Hello
>
> I've just installing some new systems so decided to give the late
> version a go (been running 0.5.2). I need to be able to read/write to
> /root, I've added /root to sync_dirs and put a copy in
> lib/init/rw/root but it does not copy over my dot files, mainly
> .bashrc and .profile.
>
> What I would really like is VOYAGE_RW_DIRS has mentioned by Punky in
> the past, I liked the fact /root was RW and was flushed/changes lost
> at reboot unless manually copied to /ro/root.
>
> Thanks
>
> Wayne
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list