blob: b2756014508c770fbc024069be235622cca24581 [file] [log] [blame]
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +03001config SYSFS
David Rientjes6a108a12011-01-20 14:44:16 -08002 bool "sysfs file system support" if EXPERT
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +03003 default y
Tejun Heoba341d52014-02-03 14:09:17 -05004 select KERNFS
Alexey Dobriyan5f3a2112009-01-22 10:40:58 +03005 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.