Subject: port-pmax/4474: typo in /src/etc/etc.pmax/MAKEDEV
To: None <gnats-bugs@gnats.netbsd.org>
From: None <frueauf@ira.uka.de>
List: netbsd-bugs
Date: 11/12/1997 17:13:59
>Number: 4474
>Category: port-pmax
>Synopsis: typo in /src/etc/etc.pmax/MAKEDEV
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Nov 12 08:35:03 1997
>Last-Modified:
>Originator: Thorsten Frueauf
>Organization:
private
>Release: <NetBSD-current source date> NetBSD 1.3_ALPHA 06.11.1997
>Environment:
NetBSD cyberdec-1 1.3_ALPHA NetBSD 1.3_ALPHA (CYBERDEC) #2: Wed Nov 12 15:27:26 MET 1997 milano@cyberdec-1:/usr/src/sys/arch/pmax/compile/CYBERDEC pmax
>Description:
Some missplaced brackets in /src/etc/etc.pmax/MAKEDEV make it impossible
to create e.g. /dev/pm0.
>How-To-Repeat:
Try `/dev/MAKEDEV pm0` on a 1.3_ALPHA NetBSD/pmax machine and watch:
bad unit for pm in: MAKEDEV
>Fix:
Apply the following patch to /src/etc/etc.pmax/MAKEDEV:
*** /src/etc/etc.pmax/MAKEDEV Fri Nov 7 13:01:53 1997
--- MAKEDEV Wed Nov 12 16:41:33 1997
***************
*** 219,228 ****
#
pm*|cfb*|xcfb*|mfb*)
case $i in
! pm*) name=pm; unit=$i{#pm}; chr=8;;
! cfb*) name=cfb; unit=$i{#cfb}; chr=13;;
! xcfb*) name=xcfb; unit=$i{#xcfb}; chr=14;;
! mfb*) name=mfb; unit=$i{#mfb}; chr=18;;
esac
case $unit in
0)
--- 219,228 ----
#
pm*|cfb*|xcfb*|mfb*)
case $i in
! pm*) name=pm; unit=${i#pm}; chr=8;;
! cfb*) name=cfb; unit=${i#cfb}; chr=13;;
! xcfb*) name=xcfb; unit=${i#xcfb}; chr=14;;
! mfb*) name=mfb; unit=${i#mfb}; chr=18;;
esac
case $unit in
0)
>Audit-Trail:
>Unformatted:
typo in /src/etc/etc.pmax/MAKEDEV