Török Edvin wrote:
On 11/26/06, Dennis Peterson <[EMAIL PROTECTED]> wrote:
Root isn't feeding files to clamd - it is feeding paths to files to
clamd. At least that is what happens here.
To have root feed files to clamd, try:
$ cat <file> | clamdscan -
This adds complexity and defeats any intended efficiencies Bill was
looking for with clamdscan (those efficiencies not being there in the
first place). And possibly it became clear that clamd has limitations
when using it as Bill suggested.
In fact it's hard to beat the efficiency of avoiding scanning files when
not needed which was my earlier point.
And to speed up your method while avoiding cat, try
# clamdscan - <file
Doesn't require 0.90 rc2.
dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html