[Gllug] SCSI device ID to ACTL mapping?
Bruce Richardson
itsbruce at uklinux.net
Wed Feb 2 19:14:35 UTC 2005
On Wed, Feb 02, 2005 at 12:36:11AM +0000, Mike wrote:
> On Tue, 2005-02-01 at 23:01 +0000, Ian Northeast wrote:
> > I'll be looking at using "scsidev" to assign permanant names to SCSI
> > devices, but one thing which would be really useful would be a reliable
> > way to map sd? names to A/C/T/Ls. I assumed that this would be easy
> > enough, the kernel must know after all or the devices wouldn't work. But
> > I can't find any easy way to get it to tell me "sdb is scsi0, channel 0,
> > target 1, LUN 1" or such like, except in the messages the driver issues
> > as it's loaded, which can't be relied upon to be available. Nothing in
> > /proc seems to contain this information. Does anyone know how to find this?
>
> Sysfs in 2.6 will do it for you:-
If 2.6, this is a job for udev, surely?
--
Bruce
Nostalgia isn't what it used to be.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20050202/1592398d/attachment.pgp>
-------------- next part --------------
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list