将USB设备插上电脑,流程如下
- [root@vmserver admin]$ su
- [root@vmserver admin]# mkdir /mnt/usb
- [root@vmserver admin]# dmesg | tail
- sdb: Mode Sense: 0b 00 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 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
注意第8行,最终的设备名称是sdb1而不是sdb,使用的文件系统类型为vfat。