Subject: port-mac68k/8059: Typo in mac68k MAKEDEV wrt. dialout tty device
To: None <gnats-bugs@gnats.netbsd.org>
From: Dave Huang <khym@bga.com>
List: netbsd-bugs
Date: 07/24/1999 06:38:56
>Number:         8059
>Category:       port-mac68k
>Synopsis:       Typo in mac68k MAKEDEV wrt. dialout tty device
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-mac68k-maintainer (NetBSD/mac68k Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 24 05:05:00 1999
>Last-Modified:
>Originator:     Dave Huang
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 22 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Release:        NetBSD-current as of July 23, 1999
>Environment:
	
System: NetBSD gedd.metonymy.com 1.4F NetBSD 1.4F (GEDD) #578: Fri Jul 9 23:46:37 CDT 1999 khym@dahan.metonymy.com:/usr/src.local/sys/arch/mac68k/compile/GEDD mac68k


>Description:
	The MAKEDEV script is trying to create ttyNN as the dialout device
instead of dtyNN.
>How-To-Repeat:
	cd /dev; sh MAKEDEV tty0; ls -l tty0* dty0*
>Fix:
--- /usr/src/etc/etc.mac68k/MAKEDEV	Fri Jul 23 06:28:38 1999
+++ MAKEDEV	Sat Jul 24 06:55:26 1999
@@ -203,7 +203,7 @@
 	unit=${i#tty}
 	rm -f ser$unit tty$unit tty0$unit dty0$unit
 	mknod tty0$unit c 12 $(($unit + $dialin ))
-	mknod tty0$unit c 12 $(($unit + $dialout))
+	mknod dty0$unit c 12 $(($unit + $dialout))
 	chown uucp.wheel tty0$unit dty0$unit
 	;;
 
>Audit-Trail:
>Unformatted: