Linux u disk virus can not remove the solution

Source: Internet
Author: User

When using a USB disk under Linux, every time you see a file like auto, it is suspected to be a virus.

But the input ls-l command found that the attribute is not completely?

The result is that it won't be erased.

After a multi-party query that the reason is that Linux can not deal with the "." End of the file. So in this place cannot be deleted.

But there is a solution.

The method is as follows:

If you are the system automatically mount a U disk, please umount first

Then, enter the following:

sudo mount-t msdos/dev/sd*/media/disk

The difference here and the default is

The-t parameter changes from VFAT to MSDOS. Because VFAT is for FAT32. MSDOS is for FAT16.

When you open the U disk again, you will find. The name has become Autorn. Because the FAT16 file name can only display 6 digits. If there is more to use, omit.

But this will remove the virus.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.