Cheers for this, 
        this is very similar to something I've been planning to do for ages. 
Unfortuantly I'm not in a permission to play games with the kernel at the
moment (still on 2.0.x for stability), so I need to be able to signal these
changes thru a different mechanism from /proc/

I'll look into your code and see if I can use the work you've done in a
slightly more general interface, maybe a socket.  This would allow similar
functionality for non-linux systems as well.

Seeya
Shez

On Thu, 06 Jul 2000, Rief, Jacob wrote:
>Hi,
>I had the same problem with rdist and could not find
>any way how to do it through configuration or the 
>commandline. Therefore I patched rsync. You may
>download a patched version from http://195.96.23.199/rsync/
>Unfortunately neither Paul nor Andrew showed any
>interrest for this patch, I am still waiting for any
>reply.
>Jacob
>
>
>> -----Original Message-----
>> From: Shez [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, July 03, 2000 8:50 PM
>> To: Multiple recipients of list RSYNC
>> Subject: Using rsync to delete a single file
>> 
>> 
>> Hi there,
>>      I've been using rsync for propagating updates to a web 
>> farm for a while
>> now.  The model I took was to parse the ftp logs for accounts 
>> that were being
>> updated and trigger an rsync on the whole home directory.   
>> This has been
>> effective and reliable, but not as CPU, I/O and memory 
>> efficient as it could
>> be, especially on home directories with a very large number of files.
>> 
>> In an attempt to reduce these resource usage problems I want 
>> to rsync only the
>> particular file that has been updated, rather than the whole 
>> directory.  With
>> modified and new files this is easy, but I can't work out how 
>> to get rsync to
>> delete a single file - is this possible?  I know I could use 
>> ssh to do this,
>> but its a bit irritating to have to insert a special case for 
>> deletions.
>> 
>> Can anybody help me with something I've missed?
>> Cheers
>> Shez
>> 
>> --
>> NSL NET Ltd, 26 Forth Street, Edinburgh, EH1 3LH, UK
>> tel + 44 (0)131 477 8215  fax + 44 (0)131 477 8223  http://www.nsl.net
>>
-- 

--
NSL NET Ltd, 26 Forth Street, Edinburgh, EH1 3LH, UK
tel + 44 (0)131 477 8215  fax + 44 (0)131 477 8223  http://www.nsl.net

Reply via email to