public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* WWID / SerialNo in sysfs?
@ 2004-02-09 16:08 Kurt Garloff
  2004-02-09 16:20 ` James Bottomley
  0 siblings, 1 reply; 8+ messages in thread
From: Kurt Garloff @ 2004-02-09 16:08 UTC (permalink / raw)
  To: Linux SCSI list

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

Hi,

I would like to add a few lines to the SCSI scanning code to retrieve
WWID and/or serial number from pages INQUIRY pages 0x83 and 0x80.

I'm aware that this can be done from userspace. I've done it before
(scsidev). However, you need some code to relate device nodes 
(sg, sd) to device IDs (C:B:T:U), thus it's non-trivial to do.

Thus, IMHO, it would be good to retrieve WWID and/or serial no
and export it via sysfs to make persistent device naming in userspace
easier. The USB subsystem already does it.

Regards,
-- 
Kurt Garloff  <garloff@suse.de>                            Cologne, DE 
SUSE LINUX AG, Nuernberg, DE                          SUSE Labs (Head)

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2004-02-10  1:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09 16:08 WWID / SerialNo in sysfs? Kurt Garloff
2004-02-09 16:20 ` James Bottomley
2004-02-09 16:29   ` Kurt Garloff
2004-02-09 16:37     ` James Bottomley
2004-02-09 17:04     ` Patrick Mansfield
2004-02-10  0:19       ` Kurt Garloff
2004-02-10  0:48         ` Patrick Mansfield
2004-02-10  1:09           ` Kurt Garloff

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