Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d authored by Linus Torvalds on 09 April 2023, 18:15:57 UTC
Linux 6.3-rc6
Tip revision: 09a9639
sysfs-dev
What:		/sys/dev
Date:		April 2008
KernelVersion:	2.6.26
Contact:	Dan Williams <dan.j.williams@intel.com>
Description:	The /sys/dev tree provides a method to look up the sysfs
		path for a device using the information returned from
		stat(2).  There are two directories, 'block' and 'char',
		beneath /sys/dev containing symbolic links with names of
		the form "<major>:<minor>".  These links point to the
		corresponding sysfs path for the given device.

		Example::

		  $ readlink /sys/dev/block/8:32
		  ../../block/sdc

		Entries in /sys/dev/char and /sys/dev/block will be
		dynamically created and destroyed as devices enter and
		leave the system.

Users:		mdadm <linux-raid@vger.kernel.org>
back to top