Example of formatting a USB flash drive to FAT32 in linux

Source: Internet
Author: User

Df

You can see the hard disk + USB flash disk in your computer. For example:

Filesystem 1K-blocks Used Available Use % Mounted on
Udev 4023248 0 4023248 0%/dev
Tmpfs 808520 9784 798736 2%/run
/Dev/sda3 46860948 21381896 23075608 49%/
Tmpfs 4042584 50936 3991648 2%/dev/shm
Tmpfs 5120 4 5116 1%/run/lock
Tmpfs 4042584 0 4042584 0%/sys/fs/cgroup
/Dev/sdb6 144154576 50051096 86757752 37%/workspace
Tmpfs 808520 44 808476 1%/run/user/1000
/Dev/sdd 1448208 4 1448204 1%/media/siwei/5FF1-57D4
The above/dev/sdd is a USB flash disk.

Then unmount it:

$ Unmount/dev/sdd

Finally, you can format it:

$ Mkfs. vfat/dev/sdd

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.