0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SYSFS
0003 bool "sysfs file system support" if EXPERT
0004 default y
0005 select KERNFS
0006 help
0007 The sysfs filesystem is a virtual filesystem that the kernel uses to
0008 export internal kernel objects, their attributes, and their
0009 relationships to one another.
0010
0011 Users can use sysfs to ascertain useful information about the running
0012 kernel, such as the devices the kernel has discovered on each bus and
0013 which driver each is bound to. sysfs can also be used to tune devices
0014 and other kernel subsystems.
0015
0016 Some system agents rely on the information in sysfs to operate.
0017 /sbin/hotplug uses device and object attributes in sysfs to assist in
0018 delegating policy decisions, like persistently naming devices.
0019
0020 sysfs is currently used by the block subsystem to mount the root
0021 partition. If sysfs is disabled you must specify the boot device on
0022 the kernel boot command line via its major and minor numbers. For
0023 example, "root=03:01" for /dev/hda1.
0024
0025 Designers of embedded systems may wish to say N here to conserve space.