Mount a USB flash drive and a CD in Linux, that is, a mobile storage device.

Source: Internet
Author: User

1. Insert a USB flash drive
2. Use fdisk-L to view the device name of the USB flash drive, and check the system type to confirm the USB flash drive.
3. My USB flash drive type is FAT32, so create a mount point USB under the/mnt directory (if it does not exist), that is, mkdir USB, And then mount: Mount-T vfat/dev/sda1/Mnt/USB
Then the CD enters the USB directory and finds that it is the content of its own USB flash disk.
4. After use, uninstall: umount/mnt/USB.
Using other USB mobile storage devices is the same as this step.

1. Insert a cd
2. If there is no CDROM mount point under MNT, create the mount point mkdir CDROM,
3. Mount the disk Mount-T Auto/dev/CDROM/mnt/CDROM
4. unmount the disc umount/mnt/CDROM after use

Note: In fact, a mount point can be any directory. The above mount point is created to be clearer and more intuitive. And if it is loaded to another directory, such as/home

The file is hidden, and the value shows the content of the mounted device.
Note: Do not detach a mount point from another mount point. For example, you can enter the USB directory for umount. This is not acceptable.

Related Article

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.