linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [experimental] scsiinfo driver
@ 2001-02-27  4:21 Douglas Gilbert
  2001-03-01  5:07 ` David Brownell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Douglas Gilbert @ 2001-02-27  4:21 UTC (permalink / raw)
  To: linux-hotplug

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

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

end of thread, other threads:[~2001-03-08 23:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-27  4:21 [experimental] scsiinfo driver Douglas Gilbert
2001-03-01  5:07 ` David Brownell
2001-03-01  5:24 ` Bill Nottingham
2001-03-08 23:26 ` Douglas Gilbert

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).