On 10/11/07, Edwards, David (JTS) <[EMAIL PROTECTED]> wrote: > So, basically I need a tool where I can start with a physical port > description (seems /dev/usb# "addr #" works) and end with a disk > device (sd#). > I'll take the time to have a look at the sources one day. I'm > sure it would be possible to write a tool that would be able to > work this out in a better way. Would you have any pointers as > to where to start looking?
disklabel will also tell you the label for a disk, which you could use to determine the port.