Kconfig 1.0 KB

12345678910111213141516171819202122232425
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SYSFS
  3. bool "sysfs file system support" if EXPERT
  4. default y
  5. select KERNFS
  6. help
  7. The sysfs filesystem is a virtual filesystem that the kernel uses to
  8. export internal kernel objects, their attributes, and their
  9. relationships to one another.
  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. Some system agents rely on the information in sysfs to operate.
  15. /sbin/hotplug uses device and object attributes in sysfs to assist in
  16. delegating policy decisions, like persistently naming devices.
  17. sysfs is currently used by the block subsystem to mount the root
  18. partition. If sysfs is disabled you must specify the boot device on
  19. the kernel boot command line via its major and minor numbers. For
  20. example, "root=03:01" for /dev/hda1.
  21. Designers of embedded systems may wish to say N here to conserve space.