Apologies if this is a duplicate, however.
I have 2 usb mass storage devices, and I need to be able to work out which physical device maps to a block device.
They are not both always present, so I can't just rely on a fixed block device path.
I've tried to determine the device path from
lsusb, but that just provides the device info.
Bus 001 Device 016: ID 0781:5406 SanDisk Corp. Cruzer Micro 1/2/4GB Flash Drive Bus 001 Device 015: ID 4971:ce23 SimpleTech
sudo fdisk -l is not able to read any partition as its a truecrypt encrypted volume.
Is there some way to detect which physical device is mapped to a block device ?
I'm not able to mount the filesystem until I know which is which.
have I approached this problem in the wrong way ?
Any suggestions ?