USB location ID
An USB location ID consists of one or more digits. Each digit numbers the port at the USB hub where the
device is connected.
A device connected directly to the controller has a location ID consisting of a single digit, .e.g '1'.
When using one hub, the location ID has two digits, .e.g '14': First port on controller, fourth port on
hub.
Naming of USB storage devices
USB storage devices are named /dev/sdUSBxyz
x is the USB location ID, as described above.
y is the slot number at the storage device. Most flash card readers have four slots,
labeled 'a'...'d'.
z is the partition number on the media. Flash memories mostly use 'a' here, while
harddisks may be labeled 'a'...'d'.
A plain USB Stick: /dev/sdUSB1aa
1: First port at controller.
a: First slot.
a: First partition.
A memory card in an external card reader behind two hubs: /dev/sdUSB243ba
243: Second port at controller, fourth port at first hub, third port at second
hub.
b: Second slot.
a: First partition.