Hi all and thanks so much for your replies,

@Sorin Petrut Niculae:

So basically I´d have to exclude my home-partition, the 3rd (data-)partition and the 3 sticks in the command.

Thanks for the advice.
Greetings.
Rosika


@G.W. Haywood:

Thanks for the suggestion.

Alas I couldn't gel hold of a ClamAV manual.
I also looked around to find some info regarding the "cross filesystem" feature but curiously couldn´t find anything.

So I took a look at the man pages and found the following entry:

/−−cross−fs=[yes(*)/no]//
//Scan files and directories on other filesystems.

/As  "df -h" says (shortened):

Filesystem      Size  Used Avail Use% Mounted on
/dev/sdc1        23G   13G  9,4G  58% /
/dev/sdc2        36G   22G   12G  65% /home
/dev/sdf1       7,5G  2,1G  5,4G  29% /media/rosika/A492-CD29
/dev/sdd1        30G   26G  4,1G  87% /media/rosika/28BC-DAFC
/dev/sdc3       193G   99G   84G  55% /media/rosika/f14a27c2-0b49-4607-94ea-2e56bbf76fe1
/dev/sdb         30G   26G  3,9G  87% /media/rosika/74C1-30C7/

/"filesystem/" /is denoted as//_/dev/sdc1_ .

I'm not sure about the *syntax* though. Should I use /  or /dev/sdc1 as  a starting point:

clamscan --cross-fs=no --recursive --infected --exclude-dir='^/sys|^/dev|^/proc|^/var/lib/clamav' --max-filesize=4000M --max-scansize=4000M / -l ~/clamav-scan-results/log

OR:

<https://www.mail-archive.com/search?l=clamav-users@lists.clamav.net&q=from:%22G.W.+Haywood+via+clamav%5C-users%22>clamscan --cross-fs=no --recursive --infected --exclude-dir='^/sys|^/dev|^/proc|^/var/lib/clamav' --max-filesize=4000M --max-scansize=4000M /dev/sdc1 -l ~/clamav-scan-results/log

Thanks in advance.
Greetings
Rosika
//<https://www.mail-archive.com/search?l=clamav-users@lists.clamav.net&q=from:%22Sorin+Petrut+Niculae+via+clamav%5C-users%22>
_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to