On Mar 17, 2011, at 7:50 AM, G.W. Haywood wrote:

> On Thu, 17 Mar 2011 Russ Tyndall wrote:
> 
>> So I now have two tactics to minimize scan time:
>> 1) Partially scan ALL files
>> 2) Fully scan a set of recently modified files.
> 
> There might be another option.  If you have access to something like
> inotify on your OS you could feed incoming data to clamd on the fly,
> rather than waiting until the next scan window.
> 
> Sorry, I haven't used OSX for a while so I don't know what's available.

It appears that 10.5+ has some technology for monitoring the file system:

<http://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html#//apple_ref/doc/uid/TP40005289-CH1-DontLinkElementID_16>

Since my machine is running 10.4, I did not delve into it very far. But, a 
cursory scan of Google results suggest that methods exist for kicking off 
scripts when a file hierarchy changes.

-----------------
Russ Tyndall
Wake Forest, NC



_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to