Regarding the /proc/bus/usb/devices file
Ok, so I know that the filesystem for the usb devices gets mounted at /proc/bus/usb. And the first device detected is mapped to /dev/sda and is represented in /proc/scsi/usb-storage-0. My question is concerning a relation (if any) from a line in /proc/bus/usb/devices to sda.
Say the topology line in the /devices file reads:
T: Bus=00 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
How is /usb-storage-0/ linked to this file? If they are not linked, how is /devices updated? Is there any other way of seeing what bus,level, and port ID the device is sitting at? Thank you for your time.