Alexey Dobriyan | 5f3a211 | 2009-01-22 10:40:58 +0300 | [diff] [blame] | 1 | config SYSFS |
David Rientjes | 6a108a1 | 2011-01-20 14:44:16 -0800 | [diff] [blame] | 2 | bool "sysfs file system support" if EXPERT |
Alexey Dobriyan | 5f3a211 | 2009-01-22 10:40:58 +0300 | [diff] [blame] | 3 | default y |
Tejun Heo | ba341d5 | 2014-02-03 14:09:17 -0500 | [diff] [blame] | 4 | select KERNFS |
Alexey Dobriyan | 5f3a211 | 2009-01-22 10:40:58 +0300 | [diff] [blame] | 5 | help |
| 6 | The sysfs filesystem is a virtual filesystem that the kernel uses to |
| 7 | export internal kernel objects, their attributes, and their |
| 8 | relationships to one another. |
| 9 | |
| 10 | Users can use sysfs to ascertain useful information about the running |
| 11 | kernel, such as the devices the kernel has discovered on each bus and |
| 12 | which driver each is bound to. sysfs can also be used to tune devices |
| 13 | and other kernel subsystems. |
| 14 | |
| 15 | Some system agents rely on the information in sysfs to operate. |
| 16 | /sbin/hotplug uses device and object attributes in sysfs to assist in |
| 17 | delegating policy decisions, like persistently naming devices. |
| 18 | |
| 19 | sysfs is currently used by the block subsystem to mount the root |
| 20 | partition. If sysfs is disabled you must specify the boot device on |
| 21 | the kernel boot command line via its major and minor numbers. For |
| 22 | example, "root=03:01" for /dev/hda1. |
| 23 | |
| 24 | Designers of embedded systems may wish to say N here to conserve space. |