add declaration on n to be an integer
[unix-history] / usr / src / old / init / init.8
index 1967bc8..19eb64a 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)init.8      4.1 (Berkeley) %G%
+.\"    @(#)init.8      6.1 (Berkeley) %G%
 .\"
 .\"
-.TH INIT 8 4/1/81
+.TH INIT 8 ""
 .UC 4
 .SH NAME
 init \- process control initialization
 .UC 4
 .SH NAME
 init \- process control initialization
@@ -40,30 +40,9 @@ terminal port on which a user may log in.
 To begin such operations, it reads the file
 .I /etc/ttys
 and
 To begin such operations, it reads the file
 .I /etc/ttys
 and
-forks several times to create a process
-for each terminal specified in the file.
-Each of these processes opens the appropriate terminal
-for reading and writing.  These channels thus
-receive file descriptors 0, 1 and 2, the standard input and
-output and the diagnostic output.
-Opening the terminal will usually involve a delay,
-since the
-.IR open ""
-is not completed until someone
-is dialed up and carrier established on the channel.
-If a terminal exists but an error occurs when trying to open the terminal
-.I init
-complains by writing a message to the system console;
-the message is repeated every 10 minutes for each such terminal
-until the terminal is shut off in /etc/ttys and init notified (by
-a hangup, as described below), or the terminal becomes accessible
-(init checks again every minute).
-After an open succeeds,
-.I /etc/getty
-is called with argument as specified by the second character of
-the
-.I ttys
-file line.
+executes a command for each terminal specified in the file.
+This command will usually be
+.IR /etc/getty .
 .I Getty
 reads the user's name and invokes
 .I login
 .I Getty
 reads the user's name and invokes
 .I login
@@ -152,7 +131,12 @@ is hung and could not be killed when the system was shutting down.
 This is usually caused by a process
 which is stuck in a device driver due to a persistent device error condition.
 .SH FILES
 This is usually caused by a process
 which is stuck in a device driver due to a persistent device error condition.
 .SH FILES
-/dev/console, /dev/tty?, /etc/utmp, /usr/adm/wtmp, /etc/ttys, /etc/rc
+/dev/console,
+/dev/tty*,
+/etc/utmp,
+/usr/adm/wtmp,
+/etc/ttys,
+/etc/rc
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-login(1), kill(1), sh(1), ttys(5), crash(8), getty(8), rc(8), reboot(8),
+login(1), kill(1), sh(1), ttys(5), crash(8V), getty(8), rc(8), reboot(8),
 halt(8), shutdown(8)
 halt(8), shutdown(8)