Re: preinit= (Was: Re: [PATCH] 5 year old bug in main.c (initrd). Can this please be fixed?)

From: Stuart Lynne (sl@whiskey.fireplug.net)
Date: Mon May 29 2000 - 19:32:01 EST


In article <200005291923.MAA21331@adam.yggdrasil.com>,
Adam J. Richter <adam@yggdrasil.com> wrote:
>Dave Cinege writes:
>>Regaurding this whole /linuxrc thing. Someone mentioned, leaving it
>>alone and creating a 'preinit=' that is run about the same place
>>as /linuxrc. I'd love to see this..
>
>What you are asking for is kernel bloat. If you thought my
>arguments against /linuxrc were becuase I did not like the name
>of the file or something like that, you completely missed the point.
>
>Just pass init=/sbin/preinit and then exec /sbin/init at the end of
>your "preinit" script.

I don't care if I use /linuxrc or preinit=foo but there is a need
to have something. Dave has already listed various things he wants
to do before running init.

I'll add another example, loading block device and raid modules
so that the autodect_raid() will work.

-- 
                                            __O 
Fireplug - a Lineo company                _-\<,_ 
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68
Stuart Lynne <sl@fireplug.net>       www.fireplug.net        604-461-7532

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



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:22 EST