From mboxrd@z Thu Jan 1 00:00:00 1970 From: "'Patrick Mansfield'" Date: Thu, 27 Jan 2005 07:05:50 +0000 Subject: Re: How to add/drop SCSI drives from within the driver? Message-Id: <20050127070550.GA18632@us.ibm.com> List-Id: References: <0E3FA95632D6D047BA649F95DAB60E5705B83A31@exa-atlanta> In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E5705B83A31@exa-atlanta> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: "Mukker, Atul" Cc: 'Greg KH' , 'James Bottomley' , 'Linux Kernel' , 'SCSI Mailing List' , linux-hotplug-devel@lists.sourceforge.net [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