From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem Riede Date: Wed, 22 Dec 2004 14:25:51 +0000 Subject: Re: udev: remove permissions file from udev Message-Id: <1103725551l.4013l.55l@serve.riede.org> List-Id: References: <1103476209.5746.19.camel@localhost.localdomain> In-Reply-To: <1103476209.5746.19.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On 12/22/2004 01:18:37 AM, Greg KH wrote: > On Wed, Dec 22, 2004 at 03:41:44AM +0000, Willem Riede wrote: > > On 12/19/2004 01:12:34 PM, Kay Sievers wrote: > > >On Sun, 2004-12-19 at 17:36 +0000, Willem Riede wrote: > > >> > > >> Would you mind adding OnStream tape drives? > > >> > > >> KERNEL="osst*", NAME="%k", GROUP="tape", MODE="0660" > > >> KERNEL="nosst*", NAME="%k", GROUP="tape", MODE="0660" > > > > > >I've added it to the gentoo rules. > > > > What about the redhat rules? > > Red Hat's rules are in their rpm package, and we every once in a while, > sync up the udev tarball with it. Gentoo's rules, on the other hand, > live in the udev tarball, as it's easier for me to maintain them over > time that way :) > > So in short, we can guess as to what Red Hat's rule files should look > like, but Red Hat doesn't pull them from us, it's the other way around. > > Hope this helps, Yes, it does. Thanks. Redhat-Fedora now gained https://bugzilla.redhat.com/beta/show_bug.cgi?id3568 Not that that's the only thing needed, there's this hotplug patch I sent to this list a while ago - who owns making that change? --- /etc/hotplug/scsi.agent 2004-11-04 16:05:13.000000000 -0500 +++ scsi.agent 2004-12-20 13:15:54.498854871 -0500 @@ -41,8 +41,16 @@ case "$TYPE" in # 2.5.51 style attributes; TYPE_* constants 0) TYPE=disk ; MODULE=sd_mod ;; - # FIXME some tapes use 'osst' not 'st' - 1) TYPE=tape ; MODULE=st ;; + # Some tapes use 'osst' not 'st' + 1) TYPE=tape ; + VENDOR=$(cat /sys/$DEVPATH/vendor) ; + MODEL=$(cat /sys/$DEVPATH/model) ; + if [ $VENDOR = "OnStream" -a ${MODEL:0:3} != "ADR" ] + then + MODULE=osst ; + else + MODULE=st ; + fi ;; 2) TYPE=printer ; MODULE=sg ;; 3) TYPE=processor ; MODULE=sg ;; 4) TYPE=worm ; MODULE=sr_mod ;; Thanks, Willem Riede. ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ 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