Author Topic: Scan USB Drive with GUI?  (Read 9408 times)

0 Members and 1 Guest are viewing this topic.

Techpriest

  • Guest
Scan USB Drive with GUI?
« on: August 20, 2009, 05:32:59 PM »
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!

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Scan USB Drive with GUI?
« Reply #1 on: August 20, 2009, 06:00:11 PM »
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
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Techpriest

  • Guest
Re: Scan USB Drive with GUI?
« Reply #2 on: August 20, 2009, 09:30:55 PM »
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.

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Scan USB Drive with GUI?
« Reply #3 on: August 21, 2009, 08:57:33 AM »
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
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Techpriest

  • Guest
Re: Scan USB Drive with GUI?
« Reply #4 on: August 21, 2009, 02:40:39 PM »
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.

Techpriest

  • Guest
Re: Scan USB Drive with GUI?
« Reply #5 on: August 21, 2009, 07:57:42 PM »
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!

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: Scan USB Drive with GUI?
« Reply #6 on: August 24, 2009, 12:18:49 PM »
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
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

pupusse

  • Guest
Re: Scan USB Drive with GUI?
« Reply #7 on: August 26, 2009, 08:59:07 AM »
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.  :)

Techpriest

  • Guest
Re: Scan USB Drive with GUI?
« Reply #8 on: August 26, 2009, 03:20:05 PM »
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.