What is it? (was Re: Current Run-Level: How can you tell?)

Brandon S. Allbery KB8JRR/AA allbery at NCoast.ORG
Sun May 5 09:39:32 AEST 1991


As quoted from <230 at harem.clydeunix.com> by wes at harem.clydeunix.com (Wes Peters):
+---------------
| Not quite.  Actually:
| 	0 = Shutdown
| 	1 = Single-user (roughly)
| 	2 = Normal multi-user
| 	3 = Another multi-user
| 	4 = ?????
| 	5 = Enter monitor program, if present
| 	6 = Halt
+---------------

S is singleuser, 2 is multiuser without networking, 3 is multiuser with
networking, 4 is unused.  5 may or may not be used, depending on Unix version.

On the systems I have seen (Altos System V R3.1 and SCO UNIX) init 1 prepares
the system for singleuser and does an "init S", and init 0 prepares the system
for shutdown and does an "init 6" (which does "/etc/haltsys").

++Brandon
-- 
Me: Brandon S. Allbery			  Ham: KB8JRR/AA  10m,6m,2m,220,440,1.2
Internet: allbery at NCoast.ORG		       (restricted HF at present)
Delphi: ALLBERY				 AMPR: kb8jrr.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery       KB8JRR @ WA8BXN.OH



More information about the Comp.unix.questions mailing list