Hi there,
On Fri, 8 Apr 2022, Bob Power via clamav-users wrote:
> [
root@fedora bob]# cat clamscan.conf
> ...
> [
root@fedora bob]# xargs -a clamscan.conf clamscan / > ...
Kinda creative and unnecessary, I think, to use xargs in this way and
the result goes against the 'man' page for clamscan although I guess
you'll get away with it. Normally I'd prefer to show full pathnames
for something like this, and keep the commands as simple as possible.
You don't need quotes in your regexes in clamscan.conf, they'd only
be necessary if there were things like space characters in them.
> Output from df on excluded dirs:
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/vda2 975712256 5701400 968353688 1% /
> /dev/vda1 996780 270116 657852 30% /boot
> devtmpfs 4096 0 4096 0% /dev
> /dev/vda2 975712256 4757620 969293244 1% /home
If we are to believe what you've pasted there then you have /dev/vda2
mounted twice, once on '/' and once on '/home'. Why it seems to think
that you have different amounts of space 'Used' and 'Available' on the
partition when it's mounted on different mount points I don't know but
it feels like something's badly messed up and you should sort that out
before you do anything else.
> ...
> /home: Excluded - SAME FS: ???
> ...
>
> So why is /home excluded ?
I think it's telling you - the partition is mounted twice and it's a
little concerned by that.
--
73,
Ged.
_______________________________________________
clamav-users mailing list
clamav-users@lists.clamav.nethttps://lists.clamav.net/mailman/listinfo/clamav-usersHelp us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faqhttp://www.clamav.net/contact.html#ml