sysfs 文件系统

来源:互联网 发布:淘宝收藏夹分类没有了 编辑:程序博客网 时间:2024/05/09 13:50


sysfs is a mechanism for representing kernel

objects, their attributes, and their relationships
with each other. It provides two components:
a kernel programming interface for exporting
these items via sysfs, and a user interface to
view and manipulate these items that maps
back to the kernel objects which they represent.
The table below shows the mapping between
internel (kernel) constructs and their external
(userspace) sysfs mappings.
Internal                               External
Kernel Objects                  Directories
Object Attributes               Regular Files

Object Relationships     Symbolic Links


sysfs文件系统就是这么一种机制:它可以将内核对象,内核对象的属性,以及对象之间的关系呈现给用户的一种机制。


更多内容:http://www.google.com.hk/url?sa=t&rct=j&q=sysfs+&source=web&cd=6&ved=0CGQQFjAF&url=http%3A%2F%2Fwww.kernel.org%2Fpub%2Flinux%2Fkernel%2Fpeople%2Fmochel%2Fdoc%2Fpapers%2Fols-2005%2Fmochel.pdf&ei=af0QUJa1LNGfiQeA8YFo&usg=AFQjCNFtexIBHP5hoNI5ZfTUVHHA9MnBMQ

原创粉丝点击