Chinaunix首页 | 论坛 | 博客

分类: LINUX

2012-08-26 17:51:07

dmesg
就会显示如下的内容:

36534.547022] sd 10:0:0:0: Attached scsi generic sg2 type 0
[36534.548934] sd 10:0:0:0: [sdc] 7966720 512-byte logical blocks: (4.07 GB/3.79 GiB)
[36534.551377] sd 10:0:0:0: [sdc] Write Protect is off
[36534.551390] sd 10:0:0:0: [sdc] Mode Sense: 03 00 00 00
[36534.551884] sd 10:0:0:0: [sdc] No Caching mode page present
[36534.551888] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[36534.554784] sd 10:0:0:0: [sdc] No Caching mode page present
[36534.554792] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[36534.555842]  sdc:
[36534.558249] sd 10:0:0:0: [sdc] No Caching mode page present
[36534.558252] sd 10:0:0:0: [sdc] Assuming drive cache: write through
[36534.558255] sd 10:0:0:0: [sdc] Attached SCSI removable disk

找到所你的U盘是sdc
mkdir   /media/usb 
挂载:
sudo  mount -t vfat  /dev/sdc  /media/usb 

cd /media/usb 
就可以对他U盘进行操作了。。。

卸载:
sudo umount  -t vfat /dev/sdc  /media/usb



阅读(4429) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~