Penguin

Differences between version 7 and predecessor to the previous major change of SysFs.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 7 Last edited on Monday, June 18, 2007 11:02:16 am by DanielLawson Revert
Older page: version 5 Last edited on Sunday, June 17, 2007 11:17:15 pm by LawrenceDoliveiro Revert
@@ -1,8 +1,12 @@
 sysfs is a Linux pseudo filesystem that is used to export information, and runtime configuration support from drivers into userspace. By convention ([LSB]) it's mounted on <tt>/sys</tt>. 
  
 The [sysfsutils|http://linux-diag.sourceforge.net/Sysfsutils.html] package contains a library and command line tool (<tt>systool</tt>) to explore <tt>/sys</tt> and display and alter current settings. The [Debian] package at least uses this tool to provide boot time configuration of SysFs values through the <tt>/etc/sysfs.conf</tt> file. 
  
-Also note that some kernel options are still configured through <tt>/proc/sys</tt> or using <tt>sysctl</tt> and at boot time through <tt>/etc/sysctl.conf</tt>. See SysctlNotes for more information. 
+Also note that some kernel options are still configured through <tt>/proc/sys</tt> or using <tt>sysctl</tt> and at boot time through <tt>/etc/sysctl.conf</tt>. A general rule of thumb is that if the kernel option is related directly to some piece of hardware, it's probably configured via sysfs, and if it's to do with other kernel behaviour, it'll be accessable via <tt>/proc/sys</tt>  
+  
+EG: [RAID], [SCSI] and other block device configuration such as [IO Schedulers|LinuxIoScheduler] are configured via SysFs. Network card settings such as MTU can be set via SysFs, but network protocol settings are tweaked through sysctl.  
+  
+ See SysctlNotes for more information. 
  
 ---- 
 CategorySystemAdministration, CategoryNotes