PageRenderTime 157ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/Documentation/ABI/testing/sysfs-dev

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
#! | 20 lines | 17 code | 3 blank | 0 comment | 0 complexity | efa1fcddd25e0323fffdffca629553bd MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. What: /sys/dev
  2. Date: April 2008
  3. KernelVersion: 2.6.26
  4. Contact: Dan Williams <dan.j.williams@intel.com>
  5. Description: The /sys/dev tree provides a method to look up the sysfs
  6. path for a device using the information returned from
  7. stat(2). There are two directories, 'block' and 'char',
  8. beneath /sys/dev containing symbolic links with names of
  9. the form "<major>:<minor>". These links point to the
  10. corresponding sysfs path for the given device.
  11. Example:
  12. $ readlink /sys/dev/block/8:32
  13. ../../block/sdc
  14. Entries in /sys/dev/char and /sys/dev/block will be
  15. dynamically created and destroyed as devices enter and
  16. leave the system.
  17. Users: mdadm <linux-raid@vger.kernel.org>