-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike Noyes wrote:

| On Thu, 2005-08-18 at 23:45, [EMAIL PROTECTED] wrote:

|> We already use ramfs b.t.w. But what is currently the real benefit of
|> initramfs to LEAF?
|
| The lwn article sums up the benefits, but I'm still looking for a
| better overview of the features/benefits.

To me, it looks like the new initramfs would make it possible to do
something like the old LRP patch (which allowed the kernel to use a tar.gz
file as an initial ramdisk image) without requiring a kernel patch.

It also looks like a handy way to solve various boot-strap problems (like
getting a kernel with built-in RAID to look for RAID images *AFTER* some
external module is loaded).

A lot of this stuff is currently (at least circa 2.2/2.4, which I'm more
familiar with) kind of 'hacked' into the kernel, and if your boot sequence
is particularly odd, you might have to patch the kernel (or load an
excessively large initial ramdisk).

This feature might be useful in making a very small initial ramdisk image
for leaf that 'bootstrapped' the full LEAF system, and would not require a C
library of it's own (instead using klibc and essentailly making direct
kernel calls).  You'll never be able to run bind or sendmail this way, but
being able to run a simple shell (or other script processor like forth, lua,
etc.) and do things like extract tar files to build a root filesystem image
would be all we'd need.

This would eliminate the 'special' file that has existed in LRP/LEAF since
the beginning (ie: root.lrp or initrd.lrp), replacing it with a (hopefully)
standard chunk of init code that was simply linked with the kernel.

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFDBhfRLywbqEHdNFwRAmVaAKC4ctI4urM+d2fudhAHPB6kPow07gCfeN8c
9COK9Mms7v+4FAAzqVYnw3k=
=fP/3
-----END PGP SIGNATURE-----


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to