From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Nottingham Date: Tue, 06 Apr 2004 21:14:33 +0000 Subject: Re: udev and the kernel's idea of a device Message-Id: <20040406211432.GA15620@devserv.devel.redhat.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 Greg KH (greg@kroah.com) said: > > 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? Well, they want to know the dev node, and they use the device as a key to get auxillary information. For example, the framebuffer stuff has some limited auxillary information in /proc/fb, there's random CD-ROM info in /proc/sys/dev/cdrom/info, etc. > 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...). The version I have here still reads /proc/diskstats. Perhaps there is a newer one. Bill ------------------------------------------------------- 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