>>> On Sat, Dec 1, 2007 at 12:34 PM, in message
<[EMAIL PROTECTED]>, Binyamin Dissen
<[EMAIL PROTECTED]> wrote: 

> Interesting. As all the time stamps are the current time, I presume that 
> this is some kind of a fake directory which gets current data.

Both /proc and /sys (which arrived with 2.6) are what are called "pseudo file 
systems."  As you suspect, they are abstractions of kernel control blocks for a 
variety of different things.  Some pseudo files within the /proc/sys and /sys 
hierarchy are modifiable, which means you can dynamically control certain 
aspects of system behavior.  The modifications remain in place until the next 
IPL, or until someone/something modifies them.  The usual practice to modify 
the values in /proc/sys is via the sysctl command.  If you want the 
modifications to be present after the next boot, you put them in 
/etc/sysctl.conf.  There is also a programmable interface, see "man 2 sysctl".  
I'm not (yet) aware of a similar configuration file for /sys.  The systool 
command appears to be radically different from sysctl.  I'm not very familiar 
with it at all.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to