public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Erik Andersen <andersen@codepoet.org>
To: Jeff Meininger <jeffm@boxybutgood.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mapping from scsi Host/Chan/Id/Lun to /dev/foo
Date: Sat, 11 May 2002 17:13:25 -0600	[thread overview]
Message-ID: <20020511231324.GA3986@codepoet.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0205111609070.2589-100000@spaz.localdomain>

On Sat May 11, 2002 at 04:23:03PM -0500, Jeff Meininger wrote:
> 
> I'm trying to write a userspace program that takes Host/Chan/Id/Lun
> arguments for some sort of scsi storage device and prints out the
> corresponding /dev entry, if one exists.

Grab a copy of sg3-utils and read show_devices() in sginfo.c

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

      reply	other threads:[~2002-05-11 23:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-11 21:23 mapping from scsi Host/Chan/Id/Lun to /dev/foo Jeff Meininger
2002-05-11 23:13 ` Erik Andersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020511231324.GA3986@codepoet.org \
    --to=andersen@codepoet.org \
    --cc=jeffm@boxybutgood.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox