From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Higdon Date: Tue, 23 Nov 2004 07:02:20 +0000 Subject: Re: udev.rules syntax question Message-Id: <20041123070220.GB178972@sgi.com> List-Id: References: <20041123004518.GA179133@sgi.com> In-Reply-To: <20041123004518.GA179133@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Nov 23, 2004 at 01:58:06AM +0100, Kay Sievers wrote: > On Mon, 2004-11-22 at 16:45 -0800, Jeremy Higdon wrote: > > Hello, > > > > I have a rules file with the following rules: > > > > BUS="scsi", PROGRAM="/sbin/udev_xscsi", SYMLINK="%c" > > BUS="scsi", PROGRAM="/sbin/udev.get_persistent_device_name.sh", NAME="%k" SYMLINK="%c{1+}" > > > > > > By my reading of the documentation, both rules should provide a symlink to > > the canonical name (/dev/sda, or whatever). > > > > However, I only get the symlinks from the second rule. If I change the first > > line to: > > > > BUS="scsi", PROGRAM="/sbin/udev_xscsi", NAME="%k" SYMLINK="%c" > > > > > > then I only get the symlink from the first rule. > > That should work, right. > > > I'm running udev version 021, if that makes a difference. > > Huh, that's 9 months old, the whole project is 20 months old :) > So you may try an update, we are at v046 now :) > > That may be the reason: > http://linuxusb.bkbits.net:8080/udev/cset@4061c688A1oxsmFdksypgMHPeY9kEA I'd like to upgrade, but I need to work with what's in SLES9. That change along with the one before and after took care of the problem. I thought I was following the rules in the manpage :-) Thanks for the reply, jeremy ------------------------------------------------------- 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