162306a36Sopenharmony_ciWhat: /sys/dev 262306a36Sopenharmony_ciDate: April 2008 362306a36Sopenharmony_ciKernelVersion: 2.6.26 462306a36Sopenharmony_ciContact: Dan Williams <dan.j.williams@intel.com> 562306a36Sopenharmony_ciDescription: The /sys/dev tree provides a method to look up the sysfs 662306a36Sopenharmony_ci path for a device using the information returned from 762306a36Sopenharmony_ci stat(2). There are two directories, 'block' and 'char', 862306a36Sopenharmony_ci beneath /sys/dev containing symbolic links with names of 962306a36Sopenharmony_ci the form "<major>:<minor>". These links point to the 1062306a36Sopenharmony_ci corresponding sysfs path for the given device. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci Example:: 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci $ readlink /sys/dev/block/8:32 1562306a36Sopenharmony_ci ../../block/sdc 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ci Entries in /sys/dev/char and /sys/dev/block will be 1862306a36Sopenharmony_ci dynamically created and destroyed as devices enter and 1962306a36Sopenharmony_ci leave the system. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciUsers: mdadm <linux-raid@vger.kernel.org> 22