clamscan freeze

I have opensuse 10.3 and using clamscan at root dir on the command line :

su
cd ..
cd ..
clamscan -r --exclude-dir=windows

On the older(10.2) opensuse, it it would work fine and output the results. On 10.3(newer clamscan?), it hangs on “/sys/devices/platform/floppy.0/block/fd0/power/wakeup”. I’v been told it’s trying to read a device as file. If put a directory mask in the command line, it still freezes later on. Any ideas on fixing the problem?

Also, klamav desktop application has the same problem.

On 2010-08-04 22:06, lord valarian wrote:
>
> I have opensuse 10.3 and using clamscan at root dir on the command line
> :
>
>
> Code:
> --------------------
> su
> cd …
> cd …
> clamscan -r --exclude-dir=windows
>
> --------------------
>
>
> On the older(10.2) opensuse, it it would work fine and output the
> results. On 10.3(newer clamscan?), it hangs on
> “/sys/devices/platform/floppy.0/block/fd0/power/wakeup”. I’v been told
> it’s trying to read a device as file. If put a directory mask in the
> command line, it still freezes later on. Any ideas on fixing the
> problem?

You are scanning “/”, so you have to exclude /sys, /proc and /dev.

> Also, klamav desktop application has the same problem.

Obviously.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

It worked. Here’s the command line.

clamscan -r --exclude-dir=windows --exclude-dir=/sys --exclude-dir=/proc --exclude-dir=/dev