From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 06 Apr 2004 21:06:57 +0000 Subject: Re: udev and the kernel's idea of a device Message-Id: <20040406210657.GA9312@kroah.com> List-Id: References: <20040406192223.GA4853@nostromo.devel.redhat.com> In-Reply-To: <20040406192223.GA4853@nostromo.devel.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Apr 06, 2004 at 04:49:24PM -0400, Bill Nottingham wrote: > > > > As it is very simple > > > > to translate from the kernel device name to the real /dev name at any > > > > point in time using udevinfo, why is that not sufficient? > > > > > > Requires integrating udevinfo into various random userland apps... > > > it's certainly doable, but it just doesn't seem very clean. > > > > I agree, but what random userland apps are you talking about? > > Off the top of my head, iostat, cdrom capability checkers, fbset > and friends, etc. But, in the long run, see below. But those apps want to know the /dev node, right? They don't get errors back from the kernel with the kernel device name (well, I don't know what iostat uses, but I think the later version use sysfs...). Things like fbset want to know where the fb device is at in /dev, not the other way around. Or am I confused too? > > Can you think of a cleaner suggestion? > > Drill HAL throughout the entire OS. :) Yeah, that's the "correct" solution, but until then I imagine you need to get real work done :) thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel