我有关于usb的内核日志但是如何访问它。 / dev中没有设备注册..?怎么访问这个..? 和配置和anabledin内核
在“设备驱动程序”下
在“USB支持”下 启用“USB海量存储支持” (可选)启用“USB Mass Storage verbose debug” 在“SCSI设备支持 - >”下 启用“SCSI磁盘支持”
usb 1-2: new full speed USB device using lpc178x-ohci and address 2
usb 1-2: New USB device found, idVendor=8564, idProduct=1000
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: Mass Storage Device
usb 1-2: Manufacturer: JetFlash
usb 1-2: SerialNumber: 74O2LC2HD514SCME
答案 0 :(得分:-1)
sudo mount /dev/sd* <Path where you want to mount USB device>
,然后才能访问USB海量存储。以下是关于USB大容量存储所附加位置的内核日志信息
[85508.500115] usb 1-1: new high speed USB device using ehci_hcd and address 3
[85509.110370] usb 1-1: configuration #1 chosen from 1 choice
[85509.112895] scsi4 : SCSI emulation for USB Mass Storage devices
[85509.113486] usb-storage: device found at 3
[85509.113487] usb-storage: waiting for device to settle before scanning
[85514.128615] usb-storage: device scan complete
[85514.137855] scsi 4:0:0:0: Direct-Access Generic- Compact Flash 1.01 PQ: 0 ANSI: 0
[85514.146766] scsi 4:0:0:1: Direct-Access Multiple Flash Reader 1.05 PQ: 0 ANSI: 0
[85514.148945] sd 4:0:0:0: Attached scsi generic sg2 type 0
[85514.149018] sd 4:0:0:1: Attached scsi generic sg3 type 0
[85514.549761] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[85514.558770] sd 4:0:0:1: [sdc] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
[85514.586964] sd 4:0:0:1: [sdc] Write Protect is off
[85514.586966] sd 4:0:0:1: [sdc] Mode Sense: 03 00 00 00
[85514.586968] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[85514.711875] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[85514.711880] sdc: sdc1 sdc2 sdc3 sdc4
[85514.808220] sd 4:0:0:1: [sdc] Assuming drive cache: write through
[85514.808224] sd 4:0:0:1: [sdc] Attached SCSI removable disk
在这种情况下,安装/ dev / sdc1或/ dev / sdc2或/ dev / sdc3或/ dev / sdc4分区 取决于您感兴趣的分区。