Entering the default state during powerup
When you power up or reboot your system,
it enters the default system state
that appears in the
initdefault
line of the
/etc/inittab
file.
If you have installed the Network File System, (NFS(tm),
this line contains a
3
in the second field, indicating
that the system is to be put into networking state by default.
If you do not have the NFS package installed, this line contains a
2
in the second field, indicating
that the system is to be put into multiuser state by default.
The following is an example
initdefault
entry:
is:3:initdefault:
Once the computer boots and control passes to the
unix
program, the following events occur
as the system enters its default state:
-
Early system initializations are started by
init(1M).
-
root
is checked and mounted by
ckroot(1M).
-
Filesystems are checked and mounted by
bcheckrc(1M).
-
The system state change is prepared by the
rc2
procedure
for the change to system state 2,
or the
rc3
procedure for the change to system state 3,
depending on what your default state is.
-
The system is made public using the spawning of
the Service Access Facility (
ttymon(1M)
and
sac(1M)).
-
If you have NFS installed,
it is started, and remote resources are mounted and
made available to you.
-
The
dinit
script completes initialization of processes
that can be delayed until after a
login
prompt is displayed (such as
lp(1)
and
cron(1M)).
When all these processes have been called,
the system is in the default system state
(system state 2 or system state 3).
Next topic:
Early initialization
Previous topic:
Customizing UNIX system startup
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004