LINUX.ORG.RU

История изменений

Исправление WiZ_Ed, (текущая версия) :

Физически отключешь/подключешь диск по USB, потом выполняешь

dmesg
Там в последних строчках будем имя диска /dev/sdX

Примерно так

$ dmesg
[1587134.773063] usb 5-1: USB disconnect, device number 3
[1587142.342999] usb 9-3: new high-speed USB device number 4 using ehci-pci
[1587142.476620] usb 9-3: New USB device found, idVendor=1058, idProduct=0704
[1587142.476624] usb 9-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1587142.476626] usb 9-3: Product: External HDD    
[1587142.476628] usb 9-3: Manufacturer: Western Digital 
[1587142.476630] usb 9-3: SerialNumber: 57442D575848314533304144343032
[1587142.476992] usb-storage 9-3:1.0: USB Mass Storage device detected
[1587142.477065] usb-storage 9-3:1.0: Quirks match for vid 1058 pid 0704: 8000
[1587142.477113] scsi17 : usb-storage 9-3:1.0
[1587143.477075] scsi 17:0:0:0: Direct-Access     WD       3200BEV External 1.75 PQ: 0 ANSI: 4
[1587143.477298] sd 17:0:0:0: Attached scsi generic sg7 type 0
[1587143.477948] sd 17:0:0:0: [sdg] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[1587143.478578] sd 17:0:0:0: [sdg] Write Protect is off
[1587143.478582] sd 17:0:0:0: [sdg] Mode Sense: 23 00 00 00
[1587143.479193] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.479196] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.481203] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.481210] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.529693]  sdg: sdg1 sdg2
[1587143.532900] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.532910] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.532918] sd 17:0:0:0: [sdg] Attached SCSI disk

Получаешь номера разделов. У меня это

[1587143.529693]  sdg: sdg1 sdg2
После этого из-под рута (если тебе прав не хватает) монтируешь нужный тебе раздел.

Исходная версия Deleted, :

Физически отключешь/подключешь диск по USB, потом выполняешь

dmesg
Там в последних строчках будем имя диска /dev/sdX

Примерно так

$ dmesg
[1587134.773063] usb 5-1: USB disconnect, device number 3
[1587142.342999] usb 9-3: new high-speed USB device number 4 using ehci-pci
[1587142.476620] usb 9-3: New USB device found, idVendor=1058, idProduct=0704
[1587142.476624] usb 9-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1587142.476626] usb 9-3: Product: External HDD    
[1587142.476628] usb 9-3: Manufacturer: Western Digital 
[1587142.476630] usb 9-3: SerialNumber: 57442D575848314533304144343032
[1587142.476992] usb-storage 9-3:1.0: USB Mass Storage device detected
[1587142.477065] usb-storage 9-3:1.0: Quirks match for vid 1058 pid 0704: 8000
[1587142.477113] scsi17 : usb-storage 9-3:1.0
[1587143.477075] scsi 17:0:0:0: Direct-Access     WD       3200BEV External 1.75 PQ: 0 ANSI: 4
[1587143.477298] sd 17:0:0:0: Attached scsi generic sg7 type 0
[1587143.477948] sd 17:0:0:0: [sdg] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[1587143.478578] sd 17:0:0:0: [sdg] Write Protect is off
[1587143.478582] sd 17:0:0:0: [sdg] Mode Sense: 23 00 00 00
[1587143.479193] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.479196] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.481203] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.481210] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.529693]  sdg: sdg1 sdg2
[1587143.532900] sd 17:0:0:0: [sdg] No Caching mode page present
[1587143.532910] sd 17:0:0:0: [sdg] Assuming drive cache: write through
[1587143.532918] sd 17:0:0:0: [sdg] Attached SCSI disk
После этого делаешь
$ ls /dev/sdX*
У меня так
$ ls /dev/sdg*
/dev/sdg  /dev/sdg1  /dev/sdg2
Получаешь номера разделов. После этого из-под рута (если тебе прав не хватает) монтируешь нужный тебе раздел.