Custom initrd using busybox
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Sun Nov 5 16:20:07 PST 2006
On Sun, Nov 05, 2006 at 06:43:52PM -0500, Rob Landley wrote:
> On Sunday 05 November 2006 6:34 pm, Luciano Miguel Ferreira Rocha wrote:
> > On Sun, Nov 05, 2006 at 03:19:40PM -0500, Rob Landley wrote:
> > > > - Documentation/filesystems/ramfs-rootfs-initramfs.txt
> > >
> > > I wrote that one. If it's missing something, let me know.
> >
> > Information about the rdinit parameter would be nice. :)
>
> I think the current version (2.6.18 and up) mentions it?
Yes, the git version has it. It also has a typo:
"the kernel's built-in initamfs image."
> There are patches floating around to make it tmpfs if you have tmpfs built
> into the kernel. I keep thinking they've been integrated. (This is the
> point of tmpfs.)
They'll be very welcome.
> > I made a /init that extracts cpios (gziped and bziped) in / to a tmpfs,
> > moves all remaining files to the tmpfs, and executes the new init, if
> > anyone is interested.
>
> The proper thing to do is patch the kernel so initramfs is a tmpfs.
The program checks if / is already a tmpfs and only extracts the cpios
then. I don't always have control over the kernel used, so I can't force
the patch or option, and will keep using the program.
Thanks for the pointers anyway.
--
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20061106/3a48050e/attachment-0001.pgp
More information about the busybox
mailing list