From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DqcOA-0006UI-Oj for garchives@archives.gentoo.org; Thu, 07 Jul 2005 19:50:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j67JmgjG032230; Thu, 7 Jul 2005 19:48:42 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j67Jj0SU009637 for ; Thu, 7 Jul 2005 19:45:00 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1DqcIu-0005iA-5J for gentoo-dev@lists.gentoo.org; Thu, 07 Jul 2005 19:45:00 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DqcIN-00009H-If for gentoo-dev@gentoo.org; Thu, 07 Jul 2005 21:44:27 +0200 Received: from ip68-230-66-193.ph.ph.cox.net ([68.230.66.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 21:44:27 +0200 Received: from 1i5t5.duncan by ip68-230-66-193.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2005 21:44:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-dev] Re: devfs is dead, let's move on Date: Thu, 07 Jul 2005 12:44:07 -0700 Organization: Sometimes Message-ID: References: <20050706224651.GA19853@kroah.com> <1120744545.6560.18.camel@lycan.lan> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-66-193.ph.ph.cox.net User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table) Sender: news X-Archives-Salt: c19f4630-81a1-49d1-971b-255ec13e26c1 X-Archives-Hash: 9afd6ca937b2bcd63753baeec53b45de Martin Schlemmer posted <1120744545.6560.18.camel@lycan.lan>, excerpted below, on Thu, 07 Jul 2005 15:55:45 +0200: > Lastly on an unrelated note ... I have a rule: > > ----- > # cat /etc/udev/rules.d/40-dm.rules > KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="mapper/%c", SYMLINK="%c" > ----- > > And in theory it should be the last rule to set the name ... however the > default one in 50-udev.rules overrides it, and I have to add > OPTIONS="last_rule" Why would a rule applied in 40-x.rules be expected to stick when 50-x.rules runs after it and has a conflicting rule? Change the 40- to 60- and it should work. Of course, you are already using another alternative, the last_rule option. There's a third option that /might/ work, as well, according to the documentation (which is fresh in my mind due to bug 98175, udev-061's user/group mixups, today). You could try replacing the NAME= with NAME:=. According to the documentation, the := assignment cannot be overwritten, so that should make your name stick, with newer udevs, anyway. I think that functionality is rather new, tho, and may not be in stable versions. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman in http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html -- gentoo-dev@gentoo.org mailing list