Subject: port-sparc64/12934: MAKEDEV does not remove bpp before trying to {re-}make it
To: None <gnats-bugs@gnats.netbsd.org>
From: john heasley <heas@shrubbery.net>
List: netbsd-bugs
Date: 05/14/2001 07:38:40
>Number:         12934
>Category:       port-sparc64
>Synopsis:       MAKEDEV does not remove bpp before trying to {re-}make it
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sparc64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 14 00:38:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     john heasley
>Release:        1.5V
>Organization:
	
>Environment:
	
NetBSD foad 1.5V NetBSD 1.5V (foad) #7: Thu May 10 22:37:31 UTC 2001     root@foad:/home/src/sys/arch/sparc64/compile/foad sparc64
Architecture: sparc64
Machine: sparc
>Description:
	MAKEDEV std does not rm bpp before trying to remake it.
>How-To-Repeat:
	cd /dev; sh MAKEDEV std
>Fix:

	etc/etc.sparc64

	Index: MAKEDEV
	===================================================================
	RCS file: /cvsroot/basesrc/etc/etc.sparc64/MAKEDEV,v
	retrieving revision 1.18
	diff -c -r1.18 MAKEDEV
	*** MAKEDEV	2001/02/28 00:07:26	1.18
	--- MAKEDEV	2001/05/14 07:33:41
	***************
	*** 123,129 ****
	  	;;
	  std)
	  	rm -f console tty kmem mem null zero eeprom openprom drum klog \
	! 		stdin stdout stderr fd/* ttya ttyb fb mouse kbd
	  	mknod console		c 0 0
	  	mknod tty		c 2 0	; chmod 666 tty
	  	mknod kmem		c 3 1	; chmod 640 kmem ; chgrp kmem kmem
	--- 123,129 ----
	  	;;
	  std)
	  	rm -f console tty kmem mem null zero eeprom openprom drum klog \
	! 		stdin stdout stderr fd/* ttya ttyb fb mouse kbd bpp
	  	mknod console		c 0 0
	  	mknod tty		c 2 0	; chmod 666 tty
	  	mknod kmem		c 3 1	; chmod 640 kmem ; chgrp kmem kmem
>Release-Note:
>Audit-Trail:
>Unformatted: