User: Password:
|
|
Subscribe / Log in / New account

Re: Dracut -- Cross distribution initramfs infrastructure

From:  Jeremy Katz <katzj-H+wXaHxf7aLQT0dZR+AlfA-AT-public.gmane.org>
To:  Hannes Reinecke <hare-l3A5Bk7waGM-AT-public.gmane.org>
Subject:  Re: Dracut -- Cross distribution initramfs infrastructure
Date:  Thu, 18 Dec 2008 15:12:11 -0500
Message-ID:  <1229631131.13174.23.camel@aglarond.local>
Cc:  initramfs-u79uwXL29TY76Z2rM5mHXA-AT-public.gmane.org
Archive-link:  Article

(dropping lkml again)

On Thu, 2008-12-18 at 08:36 +0100, Hannes Reinecke wrote:
> Christoph Hellwig wrote:
> > On Wed, Dec 17, 2008 at 01:54:54PM -0500, Jeremy Katz wrote:
> >> Therefore I've started on a new project, dracut, to try to be a new
> >> initramfs tool that can be used across various distributions.  From the
> >> README...
> > 
> > It looks like Hannes has also been working on a new, modular initramfs
> > for a while:
> > 
> > 	http://git.kernel.org/?p=linux/kernel/git/hare/mkinitrd.git;...
> > 
> > I hope you guys can get together and agree on one implementation..
> 
> Thanks hch for pointing this out.
> 
> We definitely should get together to hammer our one implementation.
> Having different scripts for every distributions is a PITA.

Indeed -- but as davej noticed, going with one distro's implementation
is unlikely to fly and so we need to start over

> I'm not saying my implementation is the greatest on earth, so
> if anyone has any better suggestions I'm all ears.

I had actually looked at it some a couple of months ago when the
discussion started, but it looked like the same thing that an
initramfs/initrd has always been -- piles of shell scripts that are
strung together based on what the system building the initramfs looks
like.  The problem is that you then a) have a fair bit of system
dependence in the initramfs b) spend a lot of time running shell
scripts. 

By instead moving to where we're basing everything off of uevents we can
hopefully move away from the massive shell scripts of doom, speed up
boot and also maybe get to where a more general initramfs can be built
_with the kernel_ instead of per-system.

Jeremy

--
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



(Log in to post comments)


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds