22 lines · plain
1What: /sys/dev2Date: April 20083KernelVersion: 2.6.264Contact: Dan Williams <dan.j.williams@intel.com>5Description: The /sys/dev tree provides a method to look up the sysfs6 path for a device using the information returned from7 stat(2). There are two directories, 'block' and 'char',8 beneath /sys/dev containing symbolic links with names of9 the form "<major>:<minor>". These links point to the10 corresponding sysfs path for the given device.11 12 Example::13 14 $ readlink /sys/dev/block/8:3215 ../../block/sdc16 17 Entries in /sys/dev/char and /sys/dev/block will be18 dynamically created and destroyed as devices enter and19 leave the system.20 21Users: mdadm <linux-raid@vger.kernel.org>22