1*4882a593SmuzhiyunWhat: /sys/dev 2*4882a593SmuzhiyunDate: April 2008 3*4882a593SmuzhiyunKernelVersion: 2.6.26 4*4882a593SmuzhiyunContact: Dan Williams <dan.j.williams@intel.com> 5*4882a593SmuzhiyunDescription: The /sys/dev tree provides a method to look up the sysfs 6*4882a593Smuzhiyun path for a device using the information returned from 7*4882a593Smuzhiyun stat(2). There are two directories, 'block' and 'char', 8*4882a593Smuzhiyun beneath /sys/dev containing symbolic links with names of 9*4882a593Smuzhiyun the form "<major>:<minor>". These links point to the 10*4882a593Smuzhiyun corresponding sysfs path for the given device. 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun Example:: 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun $ readlink /sys/dev/block/8:32 15*4882a593Smuzhiyun ../../block/sdc 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun Entries in /sys/dev/char and /sys/dev/block will be 18*4882a593Smuzhiyun dynamically created and destroyed as devices enter and 19*4882a593Smuzhiyun leave the system. 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunUsers: mdadm <linux-raid@vger.kernel.org> 22