On Thu, 2005-07-07 at 12:44 -0700, Duncan wrote: > Martin Schlemmer posted <[EMAIL PROTECTED]>, 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. >
According to the manpage: ----- NAME The name of the node to be created, or the name, the network interface should be renamed to. Only one rule can set the a name, all later rules with a NAME key will be ignored. ----- -- Martin Schlemmer Gentoo Linux Developer, Desktop/System Team Developer Cape Town, South Africa
signature.asc
Description: This is a digitally signed message part