Commands for mounting a USB flash disk in linux

Source: Internet
Author: User

The commands for mounting a USB flash disk in linux are as follows: # fdisk-l // find the device file name of your USB flash disk; # mkdir/mnt/flash // mount the device that created the USB flash disk to the address; # mount-t vfat-o iocharset = cp950/dev/sdb1/mnt/flash // hanging on the USB flash disk; # df // display hanging; PS: Re-mount the USB flash disk: # mount-o remount, rw, auto/when you enter the single-user maintenance mode, your root directory will be mounted as read-only by the system. This command is too important at this time. PS: mount the/home directory to/mnt/home: # mkdir/mnt/home # mount -- bind/home/mnt/home # ls-lid/home/mnt/home # mount-l to cancel mounting, you only need: # umount device name or mount point-f: Force unmount;-n: unmount without updating/etc/mtab;

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.