26 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2config SYSFS3 bool "sysfs file system support" if EXPERT4 default y5 select KERNFS6 help7 The sysfs filesystem is a virtual filesystem that the kernel uses to8 export internal kernel objects, their attributes, and their9 relationships to one another.10 11 Users can use sysfs to ascertain useful information about the running12 kernel, such as the devices the kernel has discovered on each bus and13 which driver each is bound to. sysfs can also be used to tune devices14 and other kernel subsystems.15 16 Some system agents rely on the information in sysfs to operate.17 /sbin/hotplug uses device and object attributes in sysfs to assist in18 delegating policy decisions, like persistently naming devices.19 20 sysfs is currently used by the block subsystem to mount the root21 partition. If sysfs is disabled you must specify the boot device on22 the kernel boot command line via its major and minor numbers. For23 example, "root=03:01" for /dev/hda1.24 25 Designers of embedded systems may wish to say N here to conserve space.26