Q's on: System V /etc/init....

Chris Torek chris at umcp-cs.UUCP
Wed Nov 20 18:17:49 AEST 1985


In article <2621 at ut-ngp.UUCP> clyde at ut-ngp.UUCP (Head UNIX Hacquer) writes:
> Hmm.  Almost hate to say this, but the 'init levels & automatic reboot'
> discussion falls into my category of "Yet another reason to pitch System V
> into the trash". :-)
>
> (Of course, who knows what violence has been done to init/getty in 4.3)

Very little, actually.  Instead, they have been cleaned up quite
a bit.  I have heard that the new /etc/ttys format was done at MIT;
it is, by the way, also in Ultrix 1.1, judging from the manuals---which
were incorrectly typeset:  all the tabs except the first were
squashed out.

Extracted from our own /etc/ttys:

#
# name	getty			type		status		comments
#
console	"/etc/getty 4"		dw		on secure	# console
tty00	none			sd		off		# to CVL
tty01	none			sd		off		# to CVL
tty02	"/etc/getty sd"		sd		on		# Gandalf
[...etc...]
ttyhe	"/etc/getty N7"		N7		on		# Nau 4337
ttyhf	"/etc/getty Dq"		Dq		on		# 4364 DT80#18
ttyi0	"/etc/getty aaa"	aaa		on		# 4364
ttyi1	"/etc/getty N7"		N7		on		# Reiter 2313
ttyi2	"/etc/getty N7"		N7		on		# Lan Do 4309
[...etc.]

with careful `gettytab' setup, most every entry can simply read

	tty<n>	"/etc/getty <type>"	<type>	on

This, and having everything in one file, greatly reduces organizational
headaches.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.unix mailing list