From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [PATCH 3/4] Steal rules we need from the latest udev package. Date: Fri, 06 Mar 2009 11:57:38 +0100 Message-ID: <49B101A2.8070504@redhat.com> References: <462be3c3cfdf24ba51bc4d1a1f66cc30b8d29d82.1236124962.git.victor.lowther@gmail.com> <20090304002535.GB96609@redhat.com> <1236129369.6500.18.camel@sentry-no.fnordovax.org> <1236166408.6500.37.camel@sentry-no.fnordovax.org> <82ecf08e0903040418v23e68261le6c2a05f032a9b31@mail.gmail.com> <20090306093301.GB3301@nb.net.home> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" Kay Sievers wrote: > On Fri, Mar 6, 2009 at 10:33, Karel Zak wrote: >> On Wed, Mar 04, 2009 at 09:18:35AM -0300, Thiago Galesi wrote: >>> I remember seeing something in dracut mentioning pages: "The code for >>> the replacement of this currently lives at >>> http://pjones.fedorapeople.org/mkstart/usr/lib/mkstart/switchroot.c " >>> >>> I'm not sure this could be used, but it would be good to have >>> something merged to hack already ;) >> From my INBOX (private discussion between DaveJ and PJones, CC to me): >> >> On Mon, Feb 02, 2009 at 04:31:48PM -0500, Peter Jones wrote: >> I think http://pjones.fedorapeople.org/switchroot.c is actually the latest version. >> As a warning, I haven't actually tested past building it. >> >> Maybe we can start to use this version and improve it. > > This one, or the one in Harald's dracut repo, or the one from busybox, > or the one from klibc, they should work fine. I guess the binary > should live in the dracut repo, and should be installed in > /usr/lib/dracut/*, as it is not useful for anything else, I expect. Or > is there any possible other user? > > Kay I took this switchroot.c, replaced my switch_root.c with it and fixed it, so that it works for me. http://git.surfsite.org/git/gitweb.cgi?p=dracut.git;a=blob;f=switch_root.c;h=638a66379cc2aebd78270487be77f7d67b058e12;hb=2394813bf3afd455796e076802c183324f2f1d65 -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html