From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Wed, 12 Apr 2006 21:17:18 +0000 Subject: Re: Simple Rule Now Broken in udev089 Message-Id: <20060412211718.GB18693@vrfy.org> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Apr 12, 2006 at 09:11:43PM +0000, Robert Kennedy wrote: > >From: Kay Sievers > >To: Robert Kennedy > >CC: linux-hotplug-devel@lists.sourceforge.net > >Subject: Re: Simple Rule Now Broken in udev089 > >Date: Wed, 12 Apr 2006 10:45:15 +0200 > > > >On Tue, Apr 11, 2006 at 09:49:43PM +0000, Robert Kennedy wrote: > >> > >> For awhile I have been using the following simple rule to create a > >> persistent symlink for my removable CDRW burner: > >> > >> KERNEL="scd0", SYMLINK="cdrwiter" > >> > >> I placed this rule in 10-local.rules inside the /etc/udev/rules.d/ > >> directory. > >> > >> It used to work in previous version of udev but now it does not work. > >udev > >> is still creating the /dev/scd0 node but not the /dev/cdwriter node. > >> > >> Any ideas on what might be happening. Has anything changed in udev > >089? > > > >No, something like this works for me. But you should always use += to > >add a new symlink to the list, otherwise you reset all earlier added > >ones. Maybe there is a later rule that overwrites that one? > > > >Kay > > Thanks for the tip Kay. I tried changing the rule to: > > KERNEL="scd0", SYMLINK+="cdwriter" > > and then doing a udevstart but it did not work. I still get a /dev/scd0 > node but not a /dev/cdwriter node. Very strange. I only have this one > rule in 10-local.rules. 10-local.rules should be the first file processed > in /etc/udev/rules.d/ Are sure you have a scd* kernel device and not a sr*? What does: ls -l /sys/block show? Kay ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ 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