public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* bus:id:lun to device name
@ 2003-07-02 15:24 Stefan Voelkel
  2003-07-08 14:50 ` Kurt Garloff
  0 siblings, 1 reply; 6+ messages in thread
From: Stefan Voelkel @ 2003-07-02 15:24 UTC (permalink / raw)
  To: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 843 bytes --]

Hi,

I want to convert a bus:id:lun triple to something like "/dev/sda".

From userspace I can ioctl() /dev/s[d|cd|...]* or parse /proc/scsi/scsi.
I do not like any of those solutions.

Since a kernel module is already involved, I was wondering if it
can/may/should be done from kernelspace. As of 2.4.21 some data
structures from the middle layer are exported, but with a "debug only"
comment.

regards
	Stefan
-- 
--------------------------------------------------------------------
Stefan Völkel                            stefan.voelkel@millenux.com
Millenux GmbH                              mobile: +49.170.79177.17
Lilienthalstraße 2                          phone: +49.711.88770.300
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-17 10:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-02 15:24 bus:id:lun to device name Stefan Voelkel
2003-07-08 14:50 ` Kurt Garloff
2003-07-15 14:45   ` Stefan Voelkel
2003-07-15 17:03     ` Bryan Henderson
2003-07-16  8:29       ` Stefan Voelkel
2003-07-17 10:29         ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox