EmbLogic's Blog

sysfs

Kobjects are the mechanism behind the sysfs virtual filesystem. For every directory
found in sysfs, there is a kobject lurking somewhere within the kernel. Every kobject
of interest also exports one or more attributes, which appear in that kobject’s sysfs
directory as files containing kernel-generated information.Code that works with sysfs should include <linux/sysfs.h>.

One Response to sysfs

  1. Manish says:

    sysfs comes into existence after K-2.6 then what is need of that and how is it perform before 2.6 since we didn’t have Linux Device Model.How hot plugging mechanism performs in kernel 2.4 ?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>