INIT(8) INIT(8)
NAME
init: emuinit, osinit - Inferno initialisation
SYNOPSIS
Init: module
{
init: fn();
};
/dis/emuinit.dis
#/./osinit.dis
DESCRIPTION
Both emu(1) and the native kernels run a Dis program to ini-
tialise the system.
Emuinit is the default initialisation program for emu(1); it
reads from /dev/emuargs (see cons(3)) the command line argu-
ments given to emu, expected to be of the following form:
emu [-d] [ command [ arg ...] ]
The default command is /dis/sh.dis, unless the -d option is
given, in which case /dis/lib/srv.dis is used by default
instead, to cause emu to run on the host system as a server
(`daemon' mode).
Osinit is built-in to the root(3) of native kernels.
Although the kernel uses the fixed name #/./osinit.dis the
contents are taken from one of the files in /os/init
selected by the init section of the kernel configuration
file. Osinit's action is platform-specific in detail, but
might include: building an initial /dev by mounting device
drivers; binding the physical network driver (eg, ether(3))
into /net and initialising ip(3), usually setting addresses
and routes using bootp; attaching to a remote file system;
setting up flash translation using ftl(3); starting dossrv
or 9660srv (see dossrv(4)), or kfs(3) to serve local files
from disk or flash memory.
FILES
/dev/emuargs
SOURCE
/appl/cmd/emuinit.b
/os/init/*.b
SEE ALSO
emu(1)
Page 1 Plan 9 (printed 10/27/25)
INIT(8) INIT(8)
BUGS
The arguments could be given to emuinit directly, rather
than fussing about with /dev/emuargs.
Page 2 Plan 9 (printed 10/27/25)