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

Re: initrd support?



olafBuddenhagen@gmx.net, le Thu 31 Dec 2009 03:58:37 +0100, a écrit :
> On Tue, Dec 29, 2009 at 02:10:48PM +0100, Samuel Thibault wrote:
> > olafBuddenhagen@gmx.net, le Wed 23 Dec 2009 17:18:14 +0100, a écrit :
> 
> > Or maybe just introduce a "rd0" device?
> > 
> > grub.cfg could look like
> > 
> > module /hurd/ext2fs.static ext2fs --multibootblabla
> > module /lib/ld.so.1 exec /hurd/exec etc.
> > module /boot/initrd rd0
> > 
> > Here gnumach notices rd0 and instead of starting a task, creates an rd0
> > device.  Then we can just pass root=device:rd0 to the kernel.
> 
> Implementing ramdisk in the kernel? Doesn't sound very hurdish to me :-)

True, but the thing is: the initial ext2fs.static has to be able to
access it right from the start even before exec is started, and the
ramdisk is given by multiboot to the _kernel_ only a priori. Downloading
it into userland just to be more hurdish seems really like overkill to
me.

Samuel


Reply to: