Subject: misc/1245: SVR4_MAKEDEV should call itself using $0
To: None <gnats-bugs@NetBSD.ORG>
From: Rolf Grossmann <grossman@kiss.informatik.tu-muenchen.de>
List: netbsd-bugs
Date: 07/11/1995 00:55:24
>Number: 1245
>Category: misc
>Synopsis: SVR4_MAKEDEV should call itself using $0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 19 11:50:01 1995
>Last-Modified:
>Originator:
>Organization:
none really
>Release: NetBSD-current as of July 07th
>Environment:
System: NetBSD kiss 1.0A NetBSD 1.0A (TIGKI) #29: Sun Jul 9 22:52:13 MET DST 1995 grossman@kiss:/export/netbsd/src/sys/arch/sparc/compile/TIGKI sparc
>Description:
sh <some_path>/SVR4_MAKEDEV all fails, because SVR4_MAKEDEV is not
in your current directory.
>How-To-Repeat:
mkdir -p /emul/svr4/dev
cd /emul/svr4/dev
sh /usr/src/etc/etc.svr4/SVR4_MAKEDEV all
>Fix:
apply this diff:
*** SVR4_MAKEDEV 1995/07/07 22:11:24 1.1.1.1
--- SVR4_MAKEDEV 1995/07/10 22:49:22
***************
*** 47,53 ****
case $i in
all)
! sh SVR4_MAKEDEV tcp udp wabi ticotsord
;;
tcp)
mknod $i c 43 35
--- 47,53 ----
case $i in
all)
! sh $0 tcp udp wabi ticotsord
;;
tcp)
mknod $i c 43 35
>Audit-Trail:
>Unformatted: