xref: /openbmc/linux/fs/sysfs/Kconfig (revision d2ba09c1)
1config SYSFS
2	bool "sysfs file system support" if EXPERT
3	default y
4	select KERNFS
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.
25