# NOTE: A full virus scan can take HOURS. Be patient. # quick run: mount /mnt/hda1 sudo freshclam sudo clamscan clamscan -r -i /mnt/hda1 _________________________ # Unfortunately, the version of clamav on the CD is # a little bit out of date, so I have a tar file with the latest # version. It installs in /tmp/clam ... # In this script the varial '$Partiton' controls which partition to scan. # If you have more than one Windows partition, rerun the last line with # different values for $Partition until you've tested all of them. Part=hda1 wget http://www.bcgreen.com/knoppix/clamav/clam.tar tar -xv -C / -f clam.tar PATH=/tmp/clam/bin:$PATH export PATH freshclam mount /mnt/$Part # -r says recursively search all subdirectories. # -i says only complain about Infected files # (otherwise output can be very verbose) # # The other option I would suggest would be '-q' instead of '-i'. # That notes some problems other than infection, but doesn't list # every file scanned (the default). clamscan -r -i /mnt/$Part