linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Martin Schlemmer [c]" <azarah@nosferatu.za.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: ide-devfs.sh and Gentoo [u]
Date: Mon, 13 Dec 2004 21:12:25 +0000	[thread overview]
Message-ID: <1102972345.11272.19.camel@nosferatu.lan> (raw)
In-Reply-To: <1102970141.11272.11.camel@nosferatu.lan>

[-- Attachment #1: Type: text/plain, Size: 1362 bytes --]

On Mon, 2004-12-13 at 21:54 +0100, Stefan Schweizer wrote:
> On Mon, 13 Dec 2004 22:35:41 +0200, Martin Schlemmer [c]
> <azarah@nosferatu.za.org> wrote:
> > Hi,
> > 
> > We have a problem in Gentoo that we use the group 'cdrw' for burners,
> > but ide-devfs.sh assigns 'cdrom' to them.  Below patch is for
> > comments .. it uses cdsymlinks.sh to try and figure out if we have a
> > burner or not ....
>  I dont think this is a good fix to this. The real right fix might be: 
> 
> http://bugs.gentoo.org/show_bug.cgi?id=73064
> 
> I think we should rules.d make match symlinks, what do you think?
> We should then remove the GROUP= fix from the ide-devfs.sh rule.
> 

That gives the same as the GROUP= currently does (which in my mind sorda
give that that bug is already fixed ....)
We (gentoo) wants GROUP=cdrw, which means that either:
1) Call cdsymlinks.sh in a rule like mentioned bug
2) write a different script to return cdrw if it is a
cdrw/dvdrw/whatever.  I did not however want to do this, as it would
mean maintaining the same code in two places.

> I think your patch is not a proper solution because it calls
> cdsymlinks.sh a second time and has 2 greps in it, will that not make
> udev slow?
> 

It only does that if its a cdrom, and you usually do not have that many
cdroms, do you ? 


-- 
Martin Schlemmer


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2004-12-13 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-13 20:35 ide-devfs.sh and Gentoo [u] Martin Schlemmer [c]
2004-12-13 20:54 ` Stefan Schweizer
2004-12-13 21:12 ` Martin Schlemmer [c] [this message]
2004-12-13 21:26 ` Stefan Schweizer

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=1102972345.11272.19.camel@nosferatu.lan \
    --to=azarah@nosferatu.za.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).