Documentation/ABI/testing/sysfs-devices

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-devices

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-devices
Extension
[no extension]
Size
1033 bytes
Lines
26
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What:		/sys/devices
Date:		February 2006
Contact:	Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Description:
		The /sys/devices tree contains a snapshot of the
		internal state of the kernel device tree.  Devices will
		be added and removed dynamically as the machine runs,
		and between different kernel versions, the layout of the
		devices within this tree will change.

		Please do not rely on the format of this tree because of
		this.  If a program wishes to find different things in
		the tree, please use the /sys/class structure and rely
		on the symlinks there to point to the proper location
		within the /sys/devices tree of the individual devices.
		Or rely on the uevent messages to notify programs of
		devices being added and removed from this tree to find
		the location of those devices.

		Note that sometimes not all devices along the directory
		chain will have emitted uevent messages, so userspace
		programs must be able to handle such occurrences.

Users:
	udev <linux-hotplug-devel@lists.sourceforge.net>

Annotation

Implementation Notes