[Asterisk-Dev] exposing/maintaining more Zaptel info in /proc/zaptel ?

Kevin P. Fleming kpfleming at starnetworks.us
Tue Oct 19 19:04:34 MST 2004


Michael Loftis wrote:

> /proc/zaptel/WCT1/info say would contain general information applicable 
> to all WCT1 Spans... (say the alarm state of each span...num 
> config/avail/used channels....)

The Linux kernel is moving away from using /proc for anything that's not 
related to actual processes... like this.

Any future information exposed (and controlled) by the zaptel drivers 
should be exposed via sysfs. Yes, that makes it 2.6+ specific, but it's 
the proper thing to do.



More information about the asterisk-dev mailing list