From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mansfield Date: Fri, 18 Feb 2005 18:33:50 +0000 Subject: Re: [ANNOUNCE] hotplug-ng 001 release Message-Id: <20050218183350.GA21954@us.ibm.com> List-Id: References: <20050211211028.GB21512@suse.de> <20050212003458.GI2568@katya> <20050214224208.GC13110@suse.de> <20050216105117.GB2360@katya> <20050216110752.GC2360@katya> <1108594961l.5056l.5l@serve.riede.org> <20050216231741.GD2870@katya> <1108596771l.5056l.6l@serve.riede.org> <20050218171737.GA20012@us.ibm.com> <20050218181106.GC4424@katya> In-Reply-To: <20050218181106.GC4424@katya> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Roman Kagan , Willem Riede , linux-scsi@vger.kernel.org, linux-hotplug-devel@lists.sourceforge.net On Fri, Feb 18, 2005 at 09:11:06PM +0300, Roman Kagan wrote: > On Fri, Feb 18, 2005 at 09:17:37AM -0800, Patrick Mansfield wrote: > > You could also append the sdev->vendor and sdev->model, and use alias wild > > cards. > > String values haven't been used in the aliases so far, and I think for a > reason: with all the unpredictable weird characters and string lengths > they would make maintainance harder, not easier. Yes, but modprobe should just work with them, even if scripts or other usage has problems. I haven't seen any really odd strings for vendor or model, ususally just spaces and alphanumeric, I don't remember (or even remember where to look) for the allowed characters; there are always devices that behave badly. > > Also, sg loading would want (along with modprobe load all feature): > > > > MODULE_ALIAS("scsi-type-*"); > > Is it certain that it can live together with s[dtr]? I thought these > guys now handled all the ioctls sg was supposed to themselves... Yes. The block SG_IO handles the ioctls, but not devices without a SCSI upper level driver (i.e. not tape, disk or cdrom). For example, media changers (though a driver has just been submitted), scanners, enclosure devices, or printers (I've never seen any scsi printers). In my experience, there are always applications that want to use the standard device driver (/dev/sda etc.) and others that want to use a generic driver. -- Patrick Mansfield ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ 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