How to identify port number of USB drive?
Hello,
We am having a tough time determining on which hub port number "sda", "sdb", etc are connected. Dmesg could be one manual method but it is not useful to us. We want a script or command based solution for the same. |
I find using 'fdisk -l' is good for this.
On your distribution I guess that would be 'sudo fdisk -l'. |
Try this:
Code:
# cat /proc/bus/usb/device |
Not found
Quote:
|
Quote:
|
Does 'lsusb' give the information you want?
|
All times are GMT -5. The time now is 09:18 PM. |