[PLUG] Resolution too high.... darn blinking login

A Braunsdorf ab@eas.purdue.edu
Tue, 17 Oct 2000 11:01:31 -0500


In message <20001017084346.A6770@holomorphy.com>, William Lee Irwin III writes:
>
> > Here are the other runlevels:
> > 1 is single user mode
> > 2 I don't remember
> > 3 multiple user mode, most daemons atarted
> > 4 unused
> > 5 X started
> 
> 2 is console multiuser, and 6 is reboot. There is a standard for this
> somewhere; if anyone can track it down, please do.

It's a SysVism, and I think the Solaris description is pretty close
to the defined standard.  Mostly it just says they go from 0-6 and
2 is multi-user.  The best detail on the other states I've seen
there is this part of the shutdown manual page from Solaris 7:

     System state definitions are:
 
     state 0   Stop the operating system.
 
     state 1   State 1  is  referred  to  as  the  administrative
               state.   In  state  1  file  systems  required for
               multi-user  operations  are  mounted,  and  logins
               requiring access to multi-user file systems can be
               used. When the system comes up from firmware  mode
               into state 1, only the console is active and other
               multi-user (state  2)  services  are  unavailable.
               Note  that not all user processes are stopped when
               transitioning from multi-user state to state 1.
 
     state s, S
               State s (or S) is referred to as  the  single-user
               state.  All  user processes are stopped on transi-
               tions to this state.  In  the  single-user  state,
               file  systems  required  for multi-user logins are
               unmounted and the  system  can  only  be  accessed
               through  the  console.  Logins requiring access to
               multi-user file systems cannot be used.
 
     state 5   Shut the machine down so that it is safe to remove
               the power.  Have the machine remove power, if pos-
               sible.  The rc0 procedure  is  called  to  perform
               this task.
 
     state 6   Stop the operating system and reboot to the  state
               defined  by the initdefault entry in /etc/inittab.
               The rc6 procedure is called to perform this task.

For not describing it, runlevel 3 is pretty popular.  I guess they
figure you never shut "down" to it. :-)  Same stuff as Linux.

AIX doesn't usually use Sys V style rc directories, but it does
use inittab.  They like to cover all their bases, I guess.

ab