some simple questions about sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  i'm trying to clarify the interconnection between all of the sysfs
structures, so a few questions:

1) is it true that an entry exists at the top of the sysfs if and only
if it is a subsystem?  there's no notion of a lower-level subsystem,
is there?  that is, subsystems aren't defined recursively.

2) as i read it, a subsystem contains only the *default* kset of that
subsystem.  so how can one (if it's possible), given a subsystem,
generate a list of *all* of the subsystem's kset children?  (i'm
assuming the "list" member structure in a kset is for the list of
kobject children of that kset, right?)

3) as i read it, ksets are also not recursive, so the entire sysfs
structure consists solely of subsystems, which contain ksets, which
contain kobjects, and that's it, right?  ksets can't contain other
ksets.

  more later, after i clarify the above.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux