From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Svetoslav Slavtchev" Date: Wed, 17 Dec 2003 20:39:08 +0000 Subject: Re: udev.rules.devfs + symlinks & a question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: linux-hotplug@vger.kernel.org > On Sat, Dec 13, 2003 at 10:33:08PM +0100, Svetoslav Slavtchev wrote: > > what are the advantages/ disadvantages > > to compile using klibc ? >=20 > A very tiny static executable is created using klibc. That's necessary > for early boot, and people who care about the size of things. >=20 thanks for the explanation :-) could you drop the link to linux source (IIRC ../../gregkh-2.5 )=20 in udev/klibc, and replace it with=20 make KERNEL_DIR=3D...... USE_KLIBC=3Dtrue i've a small patch but it's only for udev, and it doesn't work with " make USE_KLIBC=3Dtrue EXTRAS=3D..." it's mostly=20 s:$(LINUX_INCLUDE_DIR)/kernel/include:$(KERNEL_DIR)/include: in udev/Makefile & udev/klibc/MCONFIG and i have a small issue with klibc compiled udev, at least bk from a 1-2 days ago most devicefs alike rules are followed, but not all e.g the rule for loop devices is ignored by dev compailed against klibc, but is followed by udev compiled against libc there are two more small issues/ questions could you change the sed rule for generating udev.conf to use ":" instead "-" for separater, as it's getting confused if you install to RPM_BUILD_ROOT/udev-$(version)/ ^^^ and the question how should i compile udev to use shared libraries, not to link it staticaly? static udev using libc is arround 500k, so it's a way too big for initrd,=20 why not have a klibc udev static binary for initrd, and a not static one against libc to manage the devices, after root is mounted and the libraries are available best, svetljo =20 --=20 +++ GMX - die erste Adresse f=FCr Mail, Message, More +++ Neu: Preissenkung f=FCr MMS und FreeMMS! http://www.gmx.net ------------------------------------------------------- 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_id=1278&alloc_id371&op=3Dclick _______________________________________________ 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