From: Willem Riede <osst@riede.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev: remove permissions file from udev
Date: Wed, 22 Dec 2004 14:25:51 +0000 [thread overview]
Message-ID: <1103725551l.4013l.55l@serve.riede.org> (raw)
In-Reply-To: <1103476209.5746.19.camel@localhost.localdomain>
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?id\x143568
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; <scsi/scsi.h> 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
prev parent reply other threads:[~2004-12-22 14:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-19 17:10 udev: remove permissions file from udev Kay Sievers
2004-12-19 17:31 ` Marco d'Itri
2004-12-19 17:36 ` Willem Riede
2004-12-19 17:49 ` Kay Sievers
2004-12-19 18:12 ` Kay Sievers
2004-12-19 19:57 ` Kay Sievers
2004-12-20 0:59 ` Marco d'Itri
2004-12-20 1:17 ` Kay Sievers
2004-12-20 13:36 ` Kay Sievers
2004-12-20 14:03 ` Marco d'Itri
2004-12-20 14:54 ` Kay Sievers
2004-12-20 17:13 ` Lindsay Haisley
2004-12-20 20:30 ` Kay Sievers
2004-12-20 20:49 ` Kay Sievers
2004-12-20 20:51 ` Marco d'Itri
2004-12-20 20:55 ` Kay Sievers
2004-12-20 20:58 ` Tobias Klauser
2004-12-20 23:36 ` Lindsay Haisley
2004-12-21 3:04 ` Kay Sievers
2004-12-22 3:41 ` Willem Riede
2004-12-22 6:18 ` Greg KH
2004-12-22 14:25 ` Willem Riede [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1103725551l.4013l.55l@serve.riede.org \
--to=osst@riede.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).