|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] /dev/tty1 and udev
> On Wed, Sep 29, 2004 at 08:45:50AM +0100, Ian Pratt wrote:
> > Does anyone have a pointer to some documentation on udev? The
> > OLS2003 paper doesn't go into any detail of what drivers need to
> > do.
>
> It's done through hotplug and sysfs. Drivers need to export a
> /sys/...../dev file and produce a hotplug event when they're registered.
> udev then gets called by hotplug and reads the /sys/....../dev file and
> creates a node based on that and a userspace database of device->name
> correlations.
>
> Personally though I still prefer devfs.
Integrating devfs into our frontend block-device driver looked like it
would be a pain in the arse, and not worth the effort since it is
obsolescent.
I hope that sysfs/udev will be easier to deal with from our point of
view. :-)
-- Keir
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|