* path to speakup control variables?
@ 2008-06-15 16:44 Samuel Thibault
2008-06-15 17:11 ` Jan Engelhardt
0 siblings, 1 reply; 2+ messages in thread
From: Samuel Thibault @ 2008-06-15 16:44 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: path to speakup control variables?
2008-06-15 16:44 path to speakup control variables? Samuel Thibault
@ 2008-06-15 17:11 ` Jan Engelhardt
0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2008-06-15 17:11 UTC (permalink / raw)
To: Samuel Thibault; +Cc: linux-kernel
On Sunday 2008-06-15 18:44, Samuel Thibault wrote:
>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...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-15 17:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-15 16:44 path to speakup control variables? Samuel Thibault
2008-06-15 17:11 ` Jan Engelhardt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.