[asterisk-dev] different name for udev rules file?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Feb 10 05:05:01 MST 2007


On Sat, Feb 10, 2007 at 10:50:14AM +0800, Steve Underwood wrote:
> Tzafrir Cohen wrote:
> >Hi
> >
> >I'm not sure that the name /etc/udev/rules.d/zaptel is a good one:
> >
> >http://bugs.digium.com/view.php?id=9015
> >
> >Any thoughts?
> >
> >/etc/udev/rules.d/50-zaptel.rules ?
> >
> >  
> On my system (FC6) 50 doesn't work. I have to name it 49-zaptel.rules

Looking at the contents of the Fedora Core 6 udev package:

$ grep zap etc/udev/rules.d/50-udev.rules
# Section for zaptel device
KERNEL=="zapctl",               NAME="zap/ctl"
KERNEL=="zaptimer",             NAME="zap/timer"
KERNEL=="zapchannel",           NAME="zap/channel"
KERNEL=="zappseudo",            NAME="zap/pseudo"
KERNEL=="zap[0-9]*",            NAME="zap/%n"

This is from udev-095-17.fc6.x86_64.rpm, see the link in th bug report.

So Fedora has followed Debian in adding the zap udev rules to the base
udev package. It has also followed Debian in leaving out the permission
bits at first (Like Debian Sarge at the time, corrected in Etch. Not
sure about different Ubuntu versions).

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list