Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / ABI / testing / sysfs-dev
blobd1739063e762914c6012eb122809a7eac30ef266
1 What:           /sys/dev
2 Date:           April 2008
3 KernelVersion:  2.6.26
4 Contact:        Dan Williams <dan.j.williams@intel.com>
5 Description:    The /sys/dev tree provides a method to look up the sysfs
6                 path for a device using the information returned from
7                 stat(2).  There are two directories, 'block' and 'char',
8                 beneath /sys/dev containing symbolic links with names of
9                 the form "<major>:<minor>".  These links point to the
10                 corresponding sysfs path for the given device.
12                 Example::
14                   $ readlink /sys/dev/block/8:32
15                   ../../block/sdc
17                 Entries in /sys/dev/char and /sys/dev/block will be
18                 dynamically created and destroyed as devices enter and
19                 leave the system.
21 Users:          mdadm <linux-raid@vger.kernel.org>