Manually mount a USB flash drive in linux

Source: Internet
Author: User


You can directly insert a USB flash drive into your computer. A window will pop up automatically and will not be mounted as you mentioned on the Internet, but in order to learn how to manually mount the USB flash disk with the command line, I closed the window. You can use df h to view disk space usage of the file system. I used this command: www.2cto.com, the default mount point of my USB flash drive is/media/MYFENG (MYFENG is the drive letter of my USB flash drive). In this case, you can directly open the Directory and use the USB flash drive. To learn how to mount a USB flash drive, I chose to mount the USB flash drive to a Common mount directory/mnt. Www.2cto.com first, I create a directory under/mnt and name it usb: mount the usb disk under/mnt/usb: Then, run the df h command to check disk space usage of the file system: Two mount points/media/MYFENG and/mnt/usb appear on the usb disk, and then observe carefully, in fact, the file names of the two mount points are the same, both of which are/dev/sdb1. Therefore, we can draw a conclusion that there is only one hardware-mounted device file, however, there can be multiple mount points. What are the conclusions and what are the device files? I will make a summary later. When the last mount point is used up, pay attention to the mount point of the USB flash drive. Note: in the above case, detach the disk twice because I used two mount points.

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.