[EMAIL PROTECTED] wrote:
Dirk Heinrichs <[EMAIL PROTECTED]> writes:


I've got several USB devices which are all accessed as SCSI disc through the usb-storage driver. Since the device node they are attached to depends on plugin order, I need to know how to find out which hardware is attached to which /dev/sd*, so that I can write a program map.


Your program map could look at /proc/scsi/* to determine what's what.

Derrell
First of all look at `mount` for mount point of procfs(type proc).
For 2.6 kernels, as i think, you also could look into new sysfs for needed info.
Good luck. Ruslan.


_______________________________________________
autofs mailing list
[EMAIL PROTECTED]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to