*BSD News Article 20443


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!darwin.sura.net!howland.reston.ans.net!paladin.american.edu!news.univie.ac.at!fstgds15.tu-graz.ac.at!fstghp04.tu-graz.ac.at!schinagl
From: schinagl@fstghp04.tu-graz.ac.at (Hermann Schinagl)
Newsgroups: comp.os.386bsd.bugs
Subject: [FREEBSD] syscons-MAKEDEV
Date: 5 Sep 1993 10:32:57 GMT
Organization: Graz University of Technology, Austria
Lines: 95
Message-ID: <26cf8pINNq44@fstgds15.tu-graz.ac.at>
NNTP-Posting-Host: fstghp04.tu-graz.ac.at
X-Newsreader: TIN [version 1.2 PL1]


It would nice, if the syscons-MAKEDEV file would be shipped with 
FreeBSD. Otherwise you have to create the devices by hand. For those, who 
don't have the syscons-MAKEDEV, and are too lazy to type:

rm /dev/tty0[0123]
mknod tty01 c 12 0
mknod tty02 c 12 1
mknod tty03 c 12 2
mknod tty04 c 12 3
mknod tty05 c 12 4
mknod tty06 c 12 5
mknod tty07 c 12 6
mknod tty08 c 12 7
mknod tty09 c 12 8
mknod tty10 c 12 9
mknod tty11 c 12 10
mknod tty12 c 12 11
chown root tty0[1-9] tty1[0-2]
chgrp tty tty0[1-9] tty1[0-2]
chmod 666 tty0[1-9] tty1[0-2]

Some changes should be applied to /etc/ttys:


#
#	@(#)ttys	5.1 (Berkeley) 4/17/89
#
# name	getty				type	status		comments
#
vga	"/usr/libexec/getty Pc"	pc3	off secure
tty01	"/usr/libexec/getty Pc"	pc3	on  secure
tty02	"/usr/libexec/getty Pc"	pc3	on  secure
tty03	"/usr/libexec/getty Pc"	pc3	on  secure
tty04	"/usr/libexec/getty Pc"	pc3	on  secure
tty05	"/usr/libexec/getty Pc"	pc3	on  secure
tty06	"/usr/libexec/getty Pc"	pc3	on  secure
tty07	"/usr/libexec/getty Pc"	pc3	on  secure
tty08	"/usr/libexec/getty Pc"	pc3	on  secure
com01	"/usr/libexec/getty std.9600"	unknown	off secure
com01	"/usr/libexec/getty std.9600"	unknown	off secure
com02	"/usr/libexec/getty std.9600"	unknown	off secure
com03	"/usr/libexec/getty std.9600"	unknown	off secure
ttyp0	none			network
ttyp1	none			network
ttyp2	none			network
ttyp3	none			network
ttyp4	none			network
ttyp5	none			network
ttyp6	none			network
ttyp7	none			network
ttyp8	none			network
ttyp9	none			network
ttypa	none			network
ttypb	none			network
ttypc	none			network
ttypd	none			network
ttype	none			network
ttypf	none			network
ttyq0	none			network
ttyq1	none			network
ttyq2	none			network
ttyq3	none			network
ttyq4	none			network
ttyq5	none			network
ttyq6	none			network
ttyq7	none			network
ttyq8	none			network
ttyq9	none			network
ttyqa	none			network
ttyqb	none			network
ttyqc	none			network
ttyqd	none			network
ttyqe	none			network
ttyqf	none			network


kill -1 1, or reboot should activate the changes



There is a another bug:

If you don't have the changes, descrivbed above, applied, press ALT F2, type
some characters, press ALT F3, type some characters too, and finally switch 
back to tty01 with ALT F1, then you will get a nasty panic, caused trap 12 
( don't remember )

--
	Ciao Hermann

------
Microsoft failing at something is not a sterling proof of impossibility ...