sysfs file system support
modulename: boardinfo.ko
and/orpci-sysfs.ko
and/ornospec-sysfs.ko
and/orksysfs.ko
and/orsysfs.ko
configname: CONFIG_SYSFS
Linux Kernel Configuration
└─>File systems
└─>Pseudo filesystems
└─>sysfs file system support
In linux kernel since version 2.6.20 (release Date: 2007-02-04)
The sysfs filesystem is a virtual filesystem that the kernel uses to
export internal kernel objects, their attributes, and their
relationships to one another.
Users can use sysfs to ascertain useful information about the running
kernel, such as the devices the kernel has discovered on each bus and
which driver each is bound to. sysfs can also be used to tune devices
and other kernel subsystems.
Some system agents rely on the information in sysfs to operate.
/sbin/hotplug uses device and object attributes in sysfs to assist in
delegating policy decisions, like persistently naming devices.
sysfs is currently used by the block subsystem to mount the root
partition. If sysfs is disabled you must specify the boot device on
the kernel boot command line via its major and minor numbers. For
example, "root=03:01" for /dev/hda1.
Designers of embedded systems may wish to say N here to conserve space.
export internal kernel objects, their attributes, and their
relationships to one another.
Users can use sysfs to ascertain useful information about the running
kernel, such as the devices the kernel has discovered on each bus and
which driver each is bound to. sysfs can also be used to tune devices
and other kernel subsystems.
Some system agents rely on the information in sysfs to operate.
/sbin/hotplug uses device and object attributes in sysfs to assist in
delegating policy decisions, like persistently naming devices.
sysfs is currently used by the block subsystem to mount the root
partition. If sysfs is disabled you must specify the boot device on
the kernel boot command line via its major and minor numbers. For
example, "root=03:01" for /dev/hda1.
Designers of embedded systems may wish to say N here to conserve space.
source code:
is selected by
CONFIG_PCI_HYPERVCONFIG_ZRAM
CONFIG_GEHC_ACHC
CONFIG_LATTICE_ECP3_CONFIG
CONFIG_EEPROM_AT24
CONFIG_EEPROM_AT25
CONFIG_EEPROM_93XX46
CONFIG_GPIO_SYSFS
CONFIG_XEN_SYS_HYPERVISOR
CONFIG_IIO_ST_ACCEL_3AXIS
CONFIG_AT91_ADC
CONFIG_IIO_CROS_EC_SENSORS_CORE
CONFIG_IIO_ST_GYRO_3AXIS
CONFIG_IIO_ST_LSM9DS0
CONFIG_IIO_ST_MAGN_3AXIS
CONFIG_IIO_SYSFS_TRIGGER
CONFIG_IIO_ST_PRESS
CONFIG_OCFS2_FS
CONFIG_HUGETLBFS
CONFIG_DLM
CONFIG_IDLE_PAGE_TRACKING
CONFIG_BQL
CONFIG_SLUB_DEBUG
CONFIG_KASAN
CONFIG_BLK_DEV_IO_TRACE
CONFIG_KASAN
CONFIG_SLUB_DEBUG