Linux Poetry
{tags: driver model }
prev | next

struct kobject
Each kobject is a keystone,
joining device model and sysfs.

Simple, fundamental;
bound to a concept
more elegant than itself.

And like all keystones, by nature,
a kobject must be embedded within
another structure to take true form.

Structures with a kobject
inherit properties and functions,
notably a name and reference count.

Reflected in the heirarchies of /sys,
collections of kobjects form ksets,
collections of ksets form subsystems.

// to acheive represenation in sysfs
int kobject_add(struct kobject *kobj);
09-22-2014 , rss feed license