Can someone tell me when the /proc/dahdi files are created for spans? Are they created when asterisk starts (or the asterisk init script) - if not what script creates them? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150204/f14ae5a2/attachment.html>
Russ Meyerriecks
2015-Feb-05 16:54 UTC
[asterisk-users] When are /proc/dahdi files created
On Wed, Feb 4, 2015 at 5:54 PM, Michelle Dupuis <mdupuis at ocg.ca> wrote:> Can someone tell me when the /proc/dahdi files are created for spans?That file structure is created by dahdi and the associated board driver after they are modprobed into the kernel. -- Russ Meyerriecks Digium, Inc. | Linux Kernel Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA direct: +1 256-428-6025 Check us out at: www.digium.com & www.asterisk.org
On Wed, Feb 04, 2015 at 11:54:12PM +0000, Michelle Dupuis wrote:> Can someone tell me when the /proc/dahdi files are created for spans? Are they created when asterisk starts (or the asterisk init script) - if not what script creates them?/proc/dahdi is created when dahdi is loaded. Each span N that is loaded creates /proc/dahdi/N . See the README: http://docs.tzafrir.org.il/dahdi-linux/#_procfs_interface_proc_dahdi and while we're at it: the following sections about the sysfs interface. /proc and /sys are generated by the kernel. No script generates them. A script may trigger the load of those modules. Those modules will be loaded typically in the dahdi init script, if not loaded earlier by hotplug (if the DAHDI hardware driver is not blacklisted). -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com