xref: /openbmc/linux/fs/sysfs/Kconfig (revision ba341d55)
15f3a211aSAlexey Dobriyanconfig SYSFS
26a108a14SDavid Rientjes	bool "sysfs file system support" if EXPERT
35f3a211aSAlexey Dobriyan	default y
4ba341d55STejun Heo	select KERNFS
55f3a211aSAlexey Dobriyan	help
65f3a211aSAlexey Dobriyan	The sysfs filesystem is a virtual filesystem that the kernel uses to
75f3a211aSAlexey Dobriyan	export internal kernel objects, their attributes, and their
85f3a211aSAlexey Dobriyan	relationships to one another.
95f3a211aSAlexey Dobriyan
105f3a211aSAlexey Dobriyan	Users can use sysfs to ascertain useful information about the running
115f3a211aSAlexey Dobriyan	kernel, such as the devices the kernel has discovered on each bus and
125f3a211aSAlexey Dobriyan	which driver each is bound to. sysfs can also be used to tune devices
135f3a211aSAlexey Dobriyan	and other kernel subsystems.
145f3a211aSAlexey Dobriyan
155f3a211aSAlexey Dobriyan	Some system agents rely on the information in sysfs to operate.
165f3a211aSAlexey Dobriyan	/sbin/hotplug uses device and object attributes in sysfs to assist in
175f3a211aSAlexey Dobriyan	delegating policy decisions, like persistently naming devices.
185f3a211aSAlexey Dobriyan
195f3a211aSAlexey Dobriyan	sysfs is currently used by the block subsystem to mount the root
205f3a211aSAlexey Dobriyan	partition.  If sysfs is disabled you must specify the boot device on
215f3a211aSAlexey Dobriyan	the kernel boot command line via its major and minor numbers.  For
225f3a211aSAlexey Dobriyan	example, "root=03:01" for /dev/hda1.
235f3a211aSAlexey Dobriyan
245f3a211aSAlexey Dobriyan	Designers of embedded systems may wish to say N here to conserve space.
25