Subject: port-i386/6876: /dev/MAKEDEV makes spurious /dev/ttyv8 device
To: None <gnats-bugs@gnats.netbsd.org>
From: None <st@devnull.demon.co.uk>
List: netbsd-bugs
Date: 01/25/1999 19:01:26
>Number: 6876
>Category: port-i386
>Synopsis: /dev/MAKEDEV makes spurious /dev/ttyv8 device
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer (NetBSD/i386 Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 25 11:05:01 1999
>Last-Modified:
>Originator: Scott Telford
>Organization:
>Release: 1.3.3
>Environment:
System: NetBSD trillian 1.3.3 NetBSD 1.3.3 (TRILLIAN) #7: Mon Jan 18 23:42:14 GMT 1999 root@trillian:/usr/src/sys/arch/i386/compile/TRILLIAN i386
>Description:
By default, pcvt provides 8 virtual ttys ttyv0 to ttyv7.
/etc/MAKEDEV creates a spurious ttyv8 when invoked as
"/dev/MAKEDEV all".
>How-To-Repeat:
Run "/dev/MAKEDEV all".
>Fix:
--- /tmp/MAKEDEV Mon Jan 18 23:51:48 1999
+++ /tmp/MAKEDEV.new Mon Jan 18 23:52:15 1999
@@ -96,7 +96,7 @@
sh $0 lpt0 lpt1 lpt2 ttyv0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 random
sh $0 speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local satlink0
- sh $0 ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7 ttyv8
+ sh $0 ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7
;;
floppy)
>Audit-Trail:
>Unformatted: