Re: Starting kernel threads (or something like that)

Andrew E. Mileski (
Tue, 2 Apr 1996 13:44:07 -0500 (EST)

> First question: When the kernel loads, what is the _FIRST_ operation it
> does after initializing itself? (I'm looking at replacing _EVERYTHING_
> below the kernel and want an idea of where I start)

That would likely be launching 'init' (or a shell if it fails).
Look at linux/init/main.c for the code.

This of course is after any kernel threads have been started
(like 'kflushd' and 'kswapd').

A _MINIMUM_ Linux system is the kernel and a shell, though it
isn't a very useful system.

-- Andrew E. Mileski --