linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: linux-hotplug@vger.kernel.org
Subject: [experimental] scsiinfo driver
Date: Tue, 27 Feb 2001 04:21:42 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-98324837123691@msgid-missing> (raw)

Last month there were some discussions on this list about hotplugging
(and unplugging) SCSI devices. That was mainly in the context of various
pseudo drivers such as sbp2_1394, usb/mass_storage and usb/microtek.

As was pointed out at the time, various changes would probably be
required to the SCSI subsystem. As an incremental approach to the
problem an experimental upper level driver is available for lk 2.4.2:
http://www.torque.net/scsi/scsiinfo.html

Essentially this driver monitors device attaches and detaches. If
CONFIG_HOTPLUG has been set then the /sbin/hotplug mechanism is
invoked. In any case lists of attached and detached devices plus a
host list are available via ioctls.

At this stage there is very little documentation. Look at the ioctl
test program (si_test.c), the header file (include/scsi/scsiinfo.h)
and the si_call_policy() function in the driver to see the names of
the provided environment variables.

I look forward to suggestions :-)

Doug Gilbert

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

             reply	other threads:[~2001-02-27  4:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-27  4:21 Douglas Gilbert [this message]
2001-03-01  5:07 ` [experimental] scsiinfo driver David Brownell
2001-03-01  5:24 ` Bill Nottingham
2001-03-08 23:26 ` Douglas Gilbert

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=marc-linux-hotplug-98324837123691@msgid-missing \
    --to=dougg@torque.net \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).