Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.arcetri.astro.it/irlab/doc/library/linux/khg/HyperNews/get/khg/89.html
Дата изменения: Thu Mar 23 12:38:11 2000
Дата индексирования: Wed Sep 15 00:48:26 2010
Кодировка:

Поисковые слова: р п р п р п р п р п р п
How to create /proc/sys variables? The HyperNews Linux KHG Discussion Pages

Question: How to create /proc/sys variables?

Forum: The Linux Kernel Hackers' Guide
Date: Fri, 11 Jul 1997 11:08:50 GMT
From: Orlando Cantieni <ocantien@itr.ch>

Hi there

I'im going to do a kernel hack. I plan to insert a static variable (that is: static int) into the modified kernel. The value of it should be tunable by an external program.

Now, How to do so ? I think best way is to create a variable into the /proc/sys mirror and tune it by echo. But how can I create such a file ? Does sysctl() do something ?

Thanks for any help

Orla

-- Orlando Cantieni .. ITR Rapperswil ocantien@itr.ch .. www.itr.ch/~ocantien

"ERROR: Volume Earth is full up to 99%. Please delete some users."