Skip to contentSkip to conversation

path to speakup control variables?

DISCUSSION Samuel Thibault 2 participants 2 messages Jun 15, 2008

lore
Share & tools
lore
#0 lore raw

Hello,

The speakup module used to put of its control variables (e.g. speech speed) in /proc/speakup/ . To better stick with common practice, should that go to somewhere in /sys or in /proc/sys/speakup (though it looked to me like non-mainstream modules can't go there because of sysctl_check)?

Samuel

#1 lore raw
Quoted 7 lines · Samuel Thibault

Hello,

The speakup module used to put of its control variables (e.g. speech speed) in /proc/speakup/ . To better stick with common practice, should that go to somewhere in /sys or in /proc/sys/speakup (though it looked to me like non-mainstream modules can't go there because of sysctl_check)?

For some tasks, neither procfs nor sysfs seem to be the right place. Which is really odd. The two unwritten rules are

(a) "No new files should go into /proc"

-> so we use sysfs, we would think

(b) "/sys files have only one value"

-> that's possibly expensive in terms of dentries and kobjects
when you think of files with lots of variables like /proc/stat

So we're in a draw for some sort of files...