[Voyage-linux] sync_dir dot files missing

Kim-man 'Punky' TSE (spam-protected)
Tue Oct 20 18:47:40 HKT 2009


Hi Wayne,

Thanks.  The changes are now included in daily.

Regards,
Punky


Wayne Lee wrote:
> Hi Punky
>
> It works as expected, thanks :-)
>
> Sorry for the delay in replying
>
> Wayne
>
>
>
>
>
>
>
> On Fri, Oct 16, 2009 at 2:24 AM, Kim-man 'Punky' TSE
> <punkytse at punknix.com> wrote:
>   
>> 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
>>
>>
>>
>>     
>
> _______________________________________________
> 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