From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tupshin Harper Date: Mon, 22 Dec 2003 22:41:44 +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 Thu, Dec 18, 2003 at 01:13:27AM -0800, Tupshin Harper wrote: > > >>What didn't: >>1) anything that needed /dev/null >>2) anything that needed /dev/random (and probably urandom...didn't check) >> >> > >You need the misc sysfs patch that I posted to lkml and >linux-hotplug-devel a while ago. That will create those nodes for you. > > Can't seem to find it in the archives of either list ...maybe I'm just blind...can you point me at it? Also, is it a patch against kernel sources? Will it work against 2.6.0 final? > > >>3) anything other that single user mode, since /dev/tty[0-9] were not >>present ..just /dev/tty >> >> > >That's odd. Do you have any tty devices in /sys/class/tty/ ? That's >what udev goes off of. > > 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 > > >>What was odd: >>I have a number of ide hard drives in this machine(9). The first two >>(hda, and hdb) and their partitions showed up as symlinks to >>/dev/ide/host0/etc... The rest of them were not symlinks and were placed >>directly in /dev (e.g. /dev/hde and /dev/hde3). >> >> >> >>2) Why are some drives symlinked and others not? >> >> > >I don't know. What kind of udev.rules file did you use for this? I >think the debian package is trying to emulate devfs names, which I don't >necessarily think is the best idea, as they are not LSB compliant. > > Ahhh...udev.rules only contains ide entries for hda-hdd. hda is: NUMBER, BUS="ide", ID="0.0", NAME="ide/host0/bus0/target0/lun0/%D", SYMLINK="hda%n" Should there be one line for every conceivable IDE device? -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