swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: a937536b868b8369b98967929045f1df54234323 authored by Linus Torvalds on 17 March 2013, 22:59:32 UTC
Linux 3.9-rc3
Tip revision: a937536
sysfs-dev
What:		/sys/dev
Date:		April 2008
KernelVersion:	2.6.26
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.

		Example:
		$ readlink /sys/dev/block/8:32
		../../block/sdc

		Entries in /sys/dev/char and /sys/dev/block will be
		dynamically created and destroyed as devices enter and
		leave the system.

Users:		mdadm <linux-raid@vger.kernel.org>
back to top