Scan USB Drive with GUI?

I have a PC running Ubuntu 9.4. I have Avast Linux Home Edition 1.3.0 installed. It has a GUI interface but I can’t get it to scan a USB drive. I can scan from the command prompt, but then I get no progress info. Is there any way to scan a USB drive with the GUI?

I would think that would be a very common thing to do, scanning a Windows drive for viruses.

Thanks!

Hallo,
there’s nothing special on USB drive - it’s just a block device, hosting a filesystem (usually flat-placed, w/o partition table). Thus, just mount/get automounted, and scan like any other path. Avast doesn’t treat USB drives specially, it’s just a place in the directory structure.

regards,
pc

When I choose Scan Folder and point to the drive it scans the root only, not the subfolders. I can not find way to scan the entire drive.

What filesystem is on the USB drive - FAT16/32? What does find (run from the command line by the same user as avast) - goes through subdirectories or not?

regards,
pc

The drive is in NTFS. I can open the drive and see all the contents. Just can only get Avast to scan a single folder it in.

Sorry, not sure what the second question means. I am fairly new to Linux.

Now I am very puzzled. We loaded another computer with the same Linux and same Avast and that scans the entire drive. As far as I can tell, we are using the same settings. If anyone can think of something, great. If not we will use the other PC to do the scanning I guess.

Thanks!

Hallo,
that’s really strange. Don’t use Avast, but something simple and bullet-proof. Open terminal, and do find <that_path> OR ls -R <that_path>. Is the behavior the same?

IMHO it’s the problem of NTFS mounting style, thus, well below the level where Avast accesses the filesystem. Please, re-check with mount.

regards,
pc

hello ,

create a mounting point for your USB ( example:mkdir /mnt/myusb)

connect as root and type " mount -t ntfs /dev/sd* /mnt/myusb " (to know the number instead of “*” ,launch usbview)

launch avast AS ROOT (su )

launch avast -a -c -t /mnt/myusb. :slight_smile:

The scan runs fine from the command prompt. It scans the root folder and all the sub-folders.

From Terminal all the commands seem to run fine. Even Avast can access the entire drive.

I have given up on the GUI.