The command line in Linux supports USB devices.

Source: Internet
Author: User
In Linux, the command line supports USB devices-Linux Enterprise applications-Linux server applications. For more information, see. Connect the USB device to your computer. The procedure is as follows:

[Root @ vmserver admin] $ su
[Root @ vmserver admin] # mkdir/mnt/usb
[Root @ vmserver admin] # dmesg | tail
Sdb: Mode Sense: 0b 00 08
Sdb: assuming drive cache: write through
SCSI device sdb: 256000 512-byte hdwr sectors (131 MB)
Sdb: Write Protect is off
Sdb: Mode Sense: 0b 00 08
Sdb: assuming drive cache: write through
Sdb: sdb1
Attached scsi removable disk sdb at scsi5, channel 0, id 0, lun 0
Attached scsi generic sg4 at scsi5, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 6
Root @ vmserver admin] # mount-t vfat/dev/sdb1/mnt/usb

Note that in Row 3, the final device name is sdb1 rather than sdb, and the file system type used is vfat.

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.