Exclude mounted network filesystems from ClamAV scans

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We have a few linux desktops going in for the first time, apart from
IT people. We're running weekly scans with ClamAV on them, and we're
having difficulty figuring out how to exclude *only* the mounted
network drives from the scan. That is, we want to scan everything
locally, recursively from /, while not scanning any mounted network
volumes.

We can figure out how to exclude files/directories based on their
names; the problem is that we're using pam_mount to mount each user's
network shares dynamically upon logon, so we don't know what shares
may or may not be mounted at any given time and thus can't specify
them ahead of time. Rather, we need something like find's "-xdev"
option, that tells find not to descend directories on other
filesystems. Is there such a thing in ClamAV? Or is there some other
way to accomplish the same thing?

Thanks,
Matt


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux