Re: [RFC] kobject/kset/ktype documentation and example code updated
From: Greg KH
Date: Thu Dec 20 2007 - 17:21:53 EST
On Thu, Dec 20, 2007 at 02:06:59PM -0800, Randy Dunlap wrote:
> On Thu, 20 Dec 2007 13:27:00 -0800 Greg KH wrote:
> > On Wed, Dec 19, 2007 at 10:32:06PM -0800, Randy Dunlap wrote:
> > > On Wed, 19 Dec 2007 16:30:31 -0800 Greg KH wrote:
> > > > int kobject_uevent(struct kobject *kobj, enum kobject_action action);
> > > >
> > > > Use the KOBJ_ADD action for when the kobject is first added to the kernel.
> > > > This should be done only after any attributes or children of the kobject
> > > > have been initialized properly, as userspace will instantly start to look
> > >
> > > s/will/may/
> >
> > No, it's usually a "will", as udev is damm fast these days :)
>
> But that's the point. It assumes that udev is being used. :(
Yes, kernel developers need to be aware that udev _will_ be used, you
can not do things that will assume it is not running.
> Who is your spell checker?
vim :)
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/