Just format it. # mkfs.msdos /dev/sdX
-Girish On Sun, Jul 25, 2010 at 3:25 PM, Arun Khan <[email protected]> wrote: > On Sun, Jul 25, 2010 at 10:20 AM, Baskar Selvaraj <[email protected]> wrote: >> >> http://www.troublefixers.com/make-pen-drive-write-protected/ >> >> http://www.irongeek.com/i.php?page=security/thumbscrew-software-usb-write-blocker >> > > Neither of the above can guarantee write protect. Besides, the > registry hack has to be made in the Cyber Cafe machine - good luck. > > I have a 128MB USB stick with a hardware write protect - that is the > only way I would be sure the viruses cannot write on to my device (I > have tested it). > > As for removal of *all* traces of viruses: > > "dd if=/dev/zero of=/dev/sdX" where X is the device assigned to pen > drive by the kernel. > > On most desktop systems with one HDD it would typically be sdb. > > Otherwise "sudo /sbin/fdisk -l" and note the device name that maps to > the capacity of the pen drive. > > Then create the vfat fs as others have suggested. > > The above can be scripted if this is happening ever so often - just > make sure you are zapping the right device :) > > -- Arun Khan > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > -- Gayatri Hitech web: http://gayatri-hitech.com SpamCheetah Spam filter: http://spam-cheetah.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
