在Linux下用命令行实现支持USB设备 将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。 解决SUSE 10.1中导入readline提示no module named readline的问题Linux的系统负载相关资讯 Linux教程
- Linux教程:如何在命令行中查看目 (07/28/2014 12:22:23)
- Linux 修改root密码 (11/03/2012 07:53:38)
- su - root 与su root的区别 (06/06/2012 00:39:40)
| - Linux进程间通信:消息队列 (01/28/2013 09:43:00)
- U盘安装Linux开机无法启动解决方法 (10/07/2012 08:55:52)
- Windows 7/Linux 同步时间 (05/15/2012 06:17:55)
|
本文评论 查看全部评论 (0)