From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tupshin Harper Date: Tue, 23 Dec 2003 01:05:15 +0000 Subject: Re: initial udev foray...successes and failures... Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Greg KH wrote: >On Mon, Dec 22, 2003 at 02:41:44PM -0800, Tupshin Harper wrote: > > >>Can't seem to find it in the archives of either list ...maybe I'm just >>blind...can you point me at it? >> >> > >ok, will post them over again to lkml and linux-hotplug-devel in a >minute. > > Thanks. >>Yup...lots o stuf in /sys/class/tty: tty0-tty63 directories all >>containing a "dev" file. tty0 (for example) contains dev with contents 4:0 >> >> > >Hm, so if you run the 'test.all' script in the test directory with the >'add' paramater, does it create the tty nodes? Check to see if debian >has a initscript that properly catches all of the dev nodes in sysfs >(look at the one in the udev release, or the test.all script for an >example of how to do this properly without having to know what kinds of >devices are in sysfs.) > > > Bug in debian's version...not present in stock udev-009. >>Should there be one line for every conceivable IDE device? >> >> > >If you want to name them something different from the kernel name, yes. >If not, the default kernel name will be used, which should work just >like without devfs or udev. > > What are your thoughts on the fact that this naming scheme limits you to 26 devices? I recall that one reason for the devfs /dev/ide/... approach is that it didn't introduce any arbitrary device limitations. The structure of /sys/bus/ide doesn't impose this limitation. Where does the mapping from /sys/bus/ide/devices to /dev/hd? take place? -Tupshin ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&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