From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sat, 03 Jan 2004 06:58:02 +0000 Subject: Re: how to use udev Message-Id: <20040103065802.GC6010@kroah.com> List-Id: References: <3FF61CFA.2080501@mail.ru> In-Reply-To: <3FF61CFA.2080501@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Jan 03, 2004 at 06:10:09AM +0000, Roman Duka wrote: > Greg KH wrote: > >>- I didn't switch my system to kernel 2.6.0 and udev, I am trying to > >>test it within initrd (Initial Ram Disk), so what I have is a > >>subdirectory in my home directory, where I installed busybox, bash, > >>insmod, modprobe, hotplug scripts and udev, plus the needed shared > >>libraries in /lib. Note I installed udev with the following command > >>"make DESTDIR=mydir install" i.e. I didn't use "prefix" so all the > >>config files etc should be relative to the root directory, and I've > >>checked them, they're fine. I created a initrd and put it on a CD-RW > >>disk and that's what I am booting from and testing udev. My question is, > >>does running udev withing initrd make any impact on its operations? > > > > > >It shouldn't. You built the klibc version, right? > > > no I didn't, udev was linked against glibc, does it have to be linked > against klibc? I mean I have glibc.so.6 and ld-linux.so.2 in my initrd > environment > roman@athlon1000:~/kernel/udev-012> ldd udev > libc.so.6 => /lib/libc.so.6 (0x4001e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) As long are you are sure udev is able to run properly, no, that's fine. But why not try using a build against klibc, that would remove any need for glibc. thanks, greg k-h ------------------------------------------------------- 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