Tomasz Kojm wrote: >> >> I'm still having problems while trying to run a full scan from root. >> If I scan using >> >> Clamscan -r / --exclude=/net --exclude=/home >> >> Clamscan seems to traverse down /net/localhost and then >> /net/localhost/net/hostname and then >> /net/localhost/net/hostname/net/loghost excluding each /pathname/file >> that has "net" in it rather than just hitting /net and moving onto >> another folder. I'm not sure if I am missing something obvious but is >> there a way to only local scan local real file system's from root. >> > >Does > >clamscan -r / --exclude="^/net.*" --exclude="^/home.*" > >work OK?
No. It is correctly excluding the files but the scan never finishes as it still loops into /net/folder/file then /net/localhost/folder/file then /net/localhost/net/hostname/folder/file excluding each file it comes across. I'm not sure if this is just a Solaris problem but it seems that it is impossible to fully scan the server using "clamscan -r /" as it always gets stuck in a long loop when dealing with /net. Is it possible to completely exclude the /net folder so that when clamscan hits this directory it does not check the contents of it? Dean _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
