Re: [GIT PATCH] driver core patches against 2.6.24

From: Jon Masters
Date: Fri Jan 25 2008 - 19:41:59 EST



On Sat, 2008-01-26 at 01:27 +0100, Peter Zijlstra wrote:
> On Sat, 2008-01-26 at 01:05 +0100, Ingo Molnar wrote:
> > * Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:
> >
> > > My wish is that distros would just boot without requiring an initrd. I
> > > know how to make them for redhat and debian based distros, but the
> > > fact that you can't (easily) cross-build them makes it a very tedious
> > > construct.
> >
> > all it takes for me on Fedora is to boot a modular distro kernel once,
> > then copy the /dev to the real (persistent) /dev:
> >
> > mkdir /tmp2
> > mount /dev/sda1 /tmp2
> > cp -a /dev/* /tmp2/dev/
> >
> > and from that point on a bzImage/vmlinuz can boot up on Fedora without
> > any problems (as long as it has the right drivers built in), and the
> > initrd line can be removed from grub.conf.
>
> Yeah, I usually do the same but with a bind mount, still it would be
> grand if such things would not be needed.

Agreed. But it's not likely to be a priority - all the vendors want
completely modular kernels. But now we see what Linus wants to do,
perhaps we can try to be a bit more friendly toward that. It's not
actually rocket science, after all. I was concerned that he wanted to
use the modules in the initrd, but now I see Linus, and everyone else,
just want to do what I also secretly do, and just not use an initrd.

Isn't it funny. We all secretly hate using initrds ourselves :)

Jon.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/