Re: [PATCH 3/4] Steal rules we need from the latest udev package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kay Sievers wrote:
On Fri, Mar 6, 2009 at 10:33, Karel Zak <kzak@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux