[asterisk-dev] dahdi-linux: don't mknod on install by default

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Feb 15 04:07:06 CST 2010


On Sat, Dec 19, 2009 at 09:37:44AM -0600, Kevin P. Fleming wrote:
> Tzafrir Cohen wrote:
> 
> > On most systems that use DAHDI there's no need for the static device
> > files under /dev/dahdi , as the system will use udev anyway.
> 
> On small systems that use uClibc, typically /dev is static.
> 
> > I suspect there wouldn't be much resistance to disabling the generation
> > of static device files. This is something that gets in your way if you
> > build dahdi-linux as a non-root user (and install it to a DESTDIR)
> > anyway.
> 
> I would agree with making the generation of device files only happen on
> request, as long as it's well documented in the upgrade notes/release
> announcement.

Took a bit of time, but change is commited (in trunk of dahdi-linux).

Right now the dahdi-linux Makefile will not generate any static Device
files. There is a separate script to generate them:

  http://svn.digium.com/svn/dahdi/linux/trunk/build_tools/make_static_devs

Which means there would no longer be a need for setting DYNFS when
building as non-root.

See also in the README:

  http://docs.tzafrir.org.il/dahdi-linux/#_static_device_files

Any need for further changes?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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