xref: /openbmc/linux/fs/sysfs/Kconfig (revision 5f3a211a8b02222498f134ea961fe29c97a4801f)
1*5f3a211aSAlexey Dobriyanconfig SYSFS
2*5f3a211aSAlexey Dobriyan	bool "sysfs file system support" if EMBEDDED
3*5f3a211aSAlexey Dobriyan	default y
4*5f3a211aSAlexey Dobriyan	help
5*5f3a211aSAlexey Dobriyan	The sysfs filesystem is a virtual filesystem that the kernel uses to
6*5f3a211aSAlexey Dobriyan	export internal kernel objects, their attributes, and their
7*5f3a211aSAlexey Dobriyan	relationships to one another.
8*5f3a211aSAlexey Dobriyan
9*5f3a211aSAlexey Dobriyan	Users can use sysfs to ascertain useful information about the running
10*5f3a211aSAlexey Dobriyan	kernel, such as the devices the kernel has discovered on each bus and
11*5f3a211aSAlexey Dobriyan	which driver each is bound to. sysfs can also be used to tune devices
12*5f3a211aSAlexey Dobriyan	and other kernel subsystems.
13*5f3a211aSAlexey Dobriyan
14*5f3a211aSAlexey Dobriyan	Some system agents rely on the information in sysfs to operate.
15*5f3a211aSAlexey Dobriyan	/sbin/hotplug uses device and object attributes in sysfs to assist in
16*5f3a211aSAlexey Dobriyan	delegating policy decisions, like persistently naming devices.
17*5f3a211aSAlexey Dobriyan
18*5f3a211aSAlexey Dobriyan	sysfs is currently used by the block subsystem to mount the root
19*5f3a211aSAlexey Dobriyan	partition.  If sysfs is disabled you must specify the boot device on
20*5f3a211aSAlexey Dobriyan	the kernel boot command line via its major and minor numbers.  For
21*5f3a211aSAlexey Dobriyan	example, "root=03:01" for /dev/hda1.
22*5f3a211aSAlexey Dobriyan
23*5f3a211aSAlexey Dobriyan	Designers of embedded systems may wish to say N here to conserve space.
24