/proce/scsi/scsi and /dev mapping ?

From: Tom Sanders (developer_linux@yahoo.com)
Date: Fri Aug 09 2002 - 01:17:26 EST


Is there a way to map entries in /proc/scsi/scsi with
their corresponding mapping with /dev/sda, /dev/sdb
etc ?

During system boot, entries in /proce/scsi/scsi and
/dev are initialized in serial order, and there is a
one to one mapping. However, this mapping is NOT
guaranteed if devices are selectively removed and
added using "scsi remove-single-device" and "scsi
add-single-device" commands.

Any idea of how to work around it ?

TIA.
Tom

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:18 EST