From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Schlemmer [c]" Date: Mon, 13 Dec 2004 21:12:25 +0000 Subject: Re: ide-devfs.sh and Gentoo [u] Message-Id: <1102972345.11272.19.camel@nosferatu.lan> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-mzYFx+dOBPbYdaYJJsCJ" List-Id: References: <1102970141.11272.11.camel@nosferatu.lan> In-Reply-To: <1102970141.11272.11.camel@nosferatu.lan> To: linux-hotplug@vger.kernel.org --=-mzYFx+dOBPbYdaYJJsCJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-12-13 at 21:54 +0100, Stefan Schweizer wrote: > On Mon, 13 Dec 2004 22:35:41 +0200, Martin Schlemmer [c] > wrote: > > Hi, > >=20 > > 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:=20 >=20 > http://bugs.gentoo.org/show_bug.cgi?id=3D73064 >=20 > I think we should rules.d make match symlinks, what do you think? > We should then remove the GROUP=3D fix from the ide-devfs.sh rule. >=20 That gives the same as the GROUP=3D currently does (which in my mind sorda give that that bug is already fixed ....) We (gentoo) wants GROUP=3Dcdrw, 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? >=20 It only does that if its a cdrom, and you usually do not have that many cdroms, do you ?=20 --=20 Martin Schlemmer --=-mzYFx+dOBPbYdaYJJsCJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBBvgW5qburzKaJYLYRAo24AJ0cZskHNYbEgpOqHbWhvm8U9AmX1wCfX+jJ yYbkmGtuTySutwb1nDqBH1w= =8bMV -----END PGP SIGNATURE----- --=-mzYFx+dOBPbYdaYJJsCJ-- ------------------------------------------------------- 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