Answers:
在终端提示下:
df -h
您应该有一个与所连接屏幕相似的屏幕,该屏幕应为您提供USB设备的安装点。
可能最简单的方法是执行dmesg
插入设备后运行,但并不总是那么容易解释。
对于闪存笔式驱动器,您可以找到以下内容
[39653.096626] usb-storage: device scan complete
[39653.097617] scsi 6:0:0:0: Direct-Access Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 2
[39653.099860] sd 6:0:0:0: Attached scsi generic sg2 type 0
[39653.101089] sd 6:0:0:0: [sdb] 1994752 512-byte logical blocks: (1.02 GB/974 MiB)
[39653.101588] sd 6:0:0:0: [sdb] Write Protect is off
[39653.101592] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[39653.101595] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[39653.110832] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[39653.110839] sdb: sdb1 sdb2
[39653.197706] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[39653.197712] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[39653.960873] EXT4-fs (sdb2): warning: maximal mount count reached, running e2fsck is recommended
[39653.962127] EXT4-fs (sdb2): mounted filesystem with ordered data mode
它很简单,看到有两个分区/dev/sdb1
,并/dev/sdb2
在驱动器上。
对于串行设备,你应该找到谈论ttyS0
或类似,对应/dev/ttyS0
。