1 # SPDX-License-Identifier: GPL-2.0-only << 2 config SYSFS 1 config SYSFS 3 bool "sysfs file system support" if EX 2 bool "sysfs file system support" if EXPERT 4 default y 3 default y 5 select KERNFS 4 select KERNFS 6 help 5 help 7 The sysfs filesystem is a virtual file 6 The sysfs filesystem is a virtual filesystem that the kernel uses to 8 export internal kernel objects, their 7 export internal kernel objects, their attributes, and their 9 relationships to one another. 8 relationships to one another. 10 9 11 Users can use sysfs to ascertain usefu 10 Users can use sysfs to ascertain useful information about the running 12 kernel, such as the devices the kernel 11 kernel, such as the devices the kernel has discovered on each bus and 13 which driver each is bound to. sysfs c 12 which driver each is bound to. sysfs can also be used to tune devices 14 and other kernel subsystems. 13 and other kernel subsystems. 15 14 16 Some system agents rely on the informa 15 Some system agents rely on the information in sysfs to operate. 17 /sbin/hotplug uses device and object a 16 /sbin/hotplug uses device and object attributes in sysfs to assist in 18 delegating policy decisions, like pers 17 delegating policy decisions, like persistently naming devices. 19 18 20 sysfs is currently used by the block s 19 sysfs is currently used by the block subsystem to mount the root 21 partition. If sysfs is disabled you m 20 partition. If sysfs is disabled you must specify the boot device on 22 the kernel boot command line via its m 21 the kernel boot command line via its major and minor numbers. For 23 example, "root=03:01" for /dev/hda1. 22 example, "root=03:01" for /dev/hda1. 24 23 25 Designers of embedded systems may wish 24 Designers of embedded systems may wish to say N here to conserve space.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.