linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: How to add/drop SCSI drives from within the driver?
       [not found] <0E3FA95632D6D047BA649F95DAB60E5705B83A31@exa-atlanta>
@ 2005-01-27  7:05 ` 'Patrick Mansfield'
  0 siblings, 0 replies; only message in thread
From: 'Patrick Mansfield' @ 2005-01-27  7:05 UTC (permalink / raw)
  To: Mukker, Atul
  Cc: 'Greg KH', 'James Bottomley',
	'Linux Kernel', 'SCSI Mailing List',
	linux-hotplug-devel

[moving to hotplug list ...]

On Wed, Jan 26, 2005 at 06:23:16PM -0500, Mukker, Atul wrote:

> Or more likely, by placing our agent in /etc/dev.d directory. Unfortunately,
> there seems be not a consensus here as well. On system has "default" and
> "net" directories and other has "block", "input", "net", "tty"?

Those are all kernel subsystem names, and as such all are supported
directory structures for udev, the part that is distro specific is that
they supply different scripts.

There won't be any "scsi" devices since they have no dev (the upper level
drivers have them); sg shows up as scsi_generic. sd is block.

You will still have to figure out via sysfs if you want to run your agent
even for subsystem block (i.e. figure out the host/driver type, I assume
you don't want to run it on hd or standard scsi disk drives).

I don't know why this is an issue for "new" devices, this should be a
problem for you when they first show up; existing and new devs should be
handled the same way.

-- Patrick Mansfield


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-27  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <0E3FA95632D6D047BA649F95DAB60E5705B83A31@exa-atlanta>
2005-01-27  7:05 ` How to add/drop SCSI drives from within the driver? 'Patrick Mansfield'

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