Sysfs
sysfs is a pseudo file system provided by the Linux kernel that exports information about various kernel subsystems, hardware devices, and associated device drivers from the kernel's device model to user space through virtual files. In addition to providing information about various devices and kernel subsystems, exported virtual files are also used for their configuration. sysfs provides functionality similar to the sysctl mechanism found in BSD operating systems, with the difference that sysfs is implemented as a virtual file system instead of being a purpose-built kernel mechanism, and that, in Linux, sysctl configuration parameters are made available at /proc/sys/ as part of procfs, not sysfs which is mounted at /sys/.
sysfs is a pseudo file system provided by the Linux kernel that exports information about various kernel subsystems, hardware devices, and associated device drivers from the kernel's device model to user space through virtual files. In addition to providing information about various devices and kernel subsystems, exported virtual files are also used for their configuration. sysfs provides functionality similar to the sysctl mechanism found in BSD operating systems, with the difference that sysfs is implemented as a virtual file system instead of being a purpose-built kernel mechanism, and that, in Linux, sysctl configuration parameters are made available at /proc/sys/ as part of procfs, not sysfs which is mounted at /sys/. ==See also== procfs configfs tmpfs sysctl, alternative way of exporting configuration used in BSD systems ==References== ==External links== Driver model overview from the LWN porting to 2.6 series kobjects and sysfs from the LWN porting to 2.6 series Ramfs The sysfs Filesystem, OLS'05 Documentation/filesystems/sysfs.txt Linux kernel documentation for sysfs
References
- ^ "SCSI Interfaces Guide — The Linux Kernel documentation" . www.kernel.org . Retrieved 2020-11-13 . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1605222000.0
- ^ SUSE. "sysctl man page" . FreeBSD. sysctl is used to modify kernel parameters at runtime. The parameters available are those listed under /proc/sys/. Procfs is required for sysctl support in Linux. You can use sysctl to both read and write sysctl data. Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
- ^ Torvalds, Linus (18 October 2002). "Linux v2.5.44 - and offline for a week" . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
- ^ Torvalds, Linus (4 November 2002). "Linux v2.5.46" . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
- ^ Mochel, Patrick (17 October 2001). "[RFC] New Driver Model for 2.5" . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
- ^ Jansen, Tim (1 November 2001). "Re: [PATCH] 2.5 PROPOSAL: Replacement for current /proc of shit" . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
- ^ a b Patrick Mochel and Mike Murphy. "sysfs - _The_ filesystem for exporting kernel objects" . kernel.org . Wikipedia revision 1330806174, retrieved 2026-11-19 · 1795042800.0
Cite this
"Sysfs". 1767372286. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1330806174