Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
SysFs
Edit
PageHistory
Diff
Info
LikePages
You are viewing an old revision of this page.
View the current version
.
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>. 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
3 pages link to
SysFs
:
UDev
DevFs
SysctlNotes