login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
29
Re: [RFC] New kobject/kset/ktype documentation and example code
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <greg@...>
To: Kay Sievers <kay.sievers@...>
Cc: Cornelia Huck <cornelia.huck@...>, <linux-kernel@...>, Alan Stern <stern@...>, Jonathan Corbet <corbet@...>, Randy Dunlap <randy.dunlap@...>
Subject:
Re: [RFC] New kobject/kset/ktype documentation and example code
Date: Thursday, November 29, 2007 - 2:02 am
On Wed, Nov 28, 2007 at 01:23:02PM +0100, Kay Sievers wrote:
quoted text
> On Wed, 2007-11-28 at 12:45 +0100, Cornelia Huck wrote: > > On Tue, 27 Nov 2007 15:02:52 -0800, Greg KH <greg@kroah.com> wrote: > > > > A kset serves these functions: > > > > > > - It serves as a bag containing a group of objects. A kset can be used by > > > the kernel to track "all block devices" or "all PCI device drivers." > > > > > > - A kset is also a subdirectory in sysfs, where the associated kobjects > > > with the kset can show up. > > > > Perhaps better wording: > > > > A kset is also represented via a subdirectory in sysfs, under which the > > kobjects associated with the kset can show up. > > This draws a misleading picture. A member of a kset shows up where the > "parent" pointer points to. Like /sys/block is a kset, the kset contains > disks and partitions, but partitions do not live at the kset, and tons > of other kset directories where this is the case. > > "If the kobject belonging to a kset has no parent kobject set, it will > be added to the kset's directory. Not all members of a kset do > necessarily live in the kset directory. If an explicit parent kobject is > assigned before the kobject is added, the kobject is registered with the > kset, but added below the parent kobject."
Nice, thanks, I've added this :) greg k-h -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] New kobject/kset/ktype documentation and example code
, Greg KH
, (Tue Nov 27, 7:02 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:03 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:18 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 11:42 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 3:28 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:36 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 3:46 pm)
[PATCH] kobject: make sure kobj->ktype is set before kobj...
, Alan Stern
, (Wed Nov 28, 4:42 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Greg KH
, (Wed Nov 28, 5:45 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Wed Nov 28, 6:00 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 6:05 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 6:59 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 11:54 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 12:04 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 1:06 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 1:17 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 2:04 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 2:33 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 3:05 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 3:51 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Alan Stern
, (Thu Nov 29, 4:09 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 4:19 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Thu Nov 29, 4:26 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Fri Nov 30, 5:30 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 12:21 pm)
kobject_init rewrite
, Greg KH
, (Thu Nov 29, 5:53 pm)
Re: kobject_init rewrite
, Alan Stern
, (Thu Nov 29, 6:16 pm)
Re: kobject_init rewrite
, Greg KH
, (Thu Nov 29, 6:24 pm)
Re: kobject_init rewrite
, Greg KH
, (Thu Nov 29, 5:54 pm)
Re: kobject_init rewrite
, Cornelia Huck
, (Fri Nov 30, 5:31 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Cornelia Huck
, (Thu Nov 29, 7:48 am)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Greg KH
, (Wed Nov 28, 6:38 pm)
Re: [PATCH] kobject: make sure kobj->ktype is set before ...
, Kay Sievers
, (Wed Nov 28, 4:52 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 7:45 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:04 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 5:41 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 8:23 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:02 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 11:48 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 11:57 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:12 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 12:36 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:51 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 1:00 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 2:08 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Thu Nov 29, 3:50 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 5:35 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Thu Nov 29, 6:53 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 5:01 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 1:59 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Wed Nov 28, 3:18 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 6:12 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 11:47 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 12:28 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Alan Stern
, (Thu Nov 29, 12:55 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Thu Nov 29, 1:52 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 8:35 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 11:52 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kay Sievers
, (Wed Nov 28, 12:03 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Cornelia Huck
, (Wed Nov 28, 12:09 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Wed Nov 28, 1:06 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Jonathan Corbet
, (Tue Nov 27, 11:50 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Thu Nov 29, 1:46 am)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Frans Pop
, (Tue Nov 27, 7:21 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Kyle McMartin
, (Tue Nov 27, 7:10 pm)
Re: [RFC] New kobject/kset/ktype documentation and example c...
, Greg KH
, (Tue Nov 27, 7:29 pm)
[RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Tue Nov 27, 7:04 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Cornelia Huck
, (Wed Nov 28, 12:35 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Thu Nov 29, 2:11 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Cornelia Huck
, (Thu Nov 29, 5:39 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Thu Nov 29, 4:39 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Alan Stern
, (Thu Nov 29, 6:11 pm)
Re: [RFC] Sample kset/ktype/kobject implementation
, Greg KH
, (Fri Nov 30, 2:41 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Dave Young
, (Fri Nov 30, 1:07 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Alan Stern
, (Fri Nov 30, 10:51 am)
Re: [RFC] Sample kset/ktype/kobject implementation
, Dave Young
, (Fri Nov 30, 1:57 am)
[RFC] sample kobject implementation
, Greg KH
, (Tue Nov 27, 7:03 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Alan Stern
Re: 2.6.22-rc2-mm1
Satyam Sharma
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
William Lee Irwin III
Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
git
:
linux-netdev
:
Dale Farnsworth
Re: [PATCH 03/39] mv643xx_eth: shorten reg names
Jarek Poplawski
Re: HTB accuracy for high speed
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
9 users
and
1061 guests
online.
Online users
shifterkart2009
zeekec
MiaCline
terinewlinao
vegetarianfood
smallflatscree
personaltraini
clutter23
onlineprofithkz
Syndicate