On 2008-12-15 21:15, Aleksey Tsalolikhin wrote:
> On Fri, Dec 12, 2008 at 6:42 PM, Dennis Peterson <[email protected]> wrote:
>   
>> Aleksey Tsalolikhin wrote:
>>     
>>> Hi.  I just created a 250 MB file, using
>>>
>>>     dd if=/dev/zero of=file.dat
>>>
>>> When I tried to run clamscan on it, I got "Scanned Files:  1     Data
>>> Scanned:  0.00 MB"
>>>
>>> So clamscan didn't actually scan it...   Is there any way to force
>>> clamscan to scan the file, please?
>>>
>>>       
>> There is a configurable max filesize you can set. Read the man page or
>> run clamscan --help for details. The default max size is 100 mb.
>>     
>
> Sorry, I should have said that I've already upped the max file size
> and max scan size.
>
> But ClamAV still skips over the file (Data Scanned:  0.00 MB).   How
> to force it to scan?
>   

Works for me:
$ clamscan --max-scansize=250M --max-filesize=250M file.dat
file.dat: OK

----------- SCAN SUMMARY -----------
Known viruses: 472667
Engine version: 0.94.2
Scanned directories: 0
Scanned files: 1
Infected files: 0
Data scanned: 250.00 MB
Time: 8.901 sec (0 m 8 s)
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to