| 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. |
| $ readlink /sys/dev/block/8:32 |
| Entries in /sys/dev/char and /sys/dev/block will be |
| dynamically created and destroyed as devices enter and |
| Users: mdadm <linux-raid@vger.kernel.org> |