Antivir doesn't work on local 5.x file system, but works fine on mounted ...

George Swentek george at swentek.mine.nu
Fri Mar 5 11:30:05 PST 2004


Antivir ( http://www.antivir.de/ ) - a popular antivirus scanner
doesn't work on local file system in Freebsd 5.X


The result from FreeBSD 4.9 system:
root at something:~$antivir -s  /var/log/
AntiVir / FreeBSD Version 2.1.0-9
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
...
----- scan results -----
 directories:        2
       files:       14
      alerts:        0
   scan time: 00:00:01
------------------------

Files are 14 and everything is OK.
--------------------------------------------------------------------------------------------------
The result from FreeBSD 5.1 system:
su-2.05b# antivir -s /var/log/
AntiVir / FreeBSD Version 2.1.0-9
Copyright (c) 1994-2004 by H+BEDV Datentechnik GmbH.
All rights reserved.
...
----- scan results -----
 directories:        1
       files:        0
      alerts:        0
   scan time: 00:00:01
------------------------


Files are 0 and it seems that antivir doesn't recognize the files in the file system.I'v noticed this behaviour since the early 5.0 distribution. 

The strange thing about all this stuff is that antivir is working fine
on mounted file system, even it is FreeBSD 5.X on it, but still refuse to scan files mounted on / 
That's the reason I post this message here.
What is the difference between / and mounted file system, even if they are from the same
installation media..

Regards,
George Swentek


More information about the freebsd-questions mailing list