From: Ian Pratt Subject: Re: /dev/tty1 and udev Date: Thu, 30 Sep 2004 09:13:22 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <20040929230939.GF726@tinyvaio.nome.ca> Return-path: In-reply-to: Your message of "Wed, 29 Sep 2004 16:09:40 PDT." <20040929230939.GF726@tinyvaio.nome.ca> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: mike@mikebell.org Cc: Ian Pratt , James Harper , xen-devel@lists.sourceforge.netIan.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org > 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. I've looked through the other console drivers in 2.6.8.1 drivers/char and can't see any obvious calls to sysfs or hotplug. Am I missing something? Ian ------------------------------------------------------- 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