From wkb@chello.nl  Fri May  5 11:09:06 2000
Return-Path: <wkb@chello.nl>
Received: from relay02.chello.nl (relay02.chello.nl [212.83.68.146])
	by hub.freebsd.org (Postfix) with ESMTP id D63E137BAD8
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  5 May 2000 11:09:05 -0700 (PDT)
	(envelope-from wkb@chello.nl)
Received: from chello.nl ([213.46.78.184]) by relay02.chello.nl
          (InterMail vK.4.02.00.00 201-232-116 license 199f3c0039bf924253955fca0afeedcc)
          with ESMTP id <20000505180852.ZOLO8821.relay02@chello.nl>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Fri, 5 May 2000 20:08:52 +0200
Received: (from wkb@localhost)
	by chello.nl (8.9.3/8.9.3) id UAA07187;
	Fri, 5 May 2000 20:08:55 +0200 (CEST)
	(envelope-from wkb)
Message-Id: <200005051808.UAA07187@chello.nl>
Date: Fri, 5 May 2000 20:08:55 +0200 (CEST)
From: wkb@chello.nl
Reply-To: wkb@chello.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
X-Send-Pr-Version: 3.2

>Number:         18400
>Category:       misc
>Synopsis:       path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May  5 11:10:01 PDT 2000
>Closed-Date:    Mon Jun 12 17:31:01 PDT 2000
>Last-Modified:  Mon Jun 12 17:31:30 PDT 2000
>Originator:     Wilko Bulte
>Release:        current
>Organization:
Private FreeBSD site - The Netherlands
>Environment:

        -current as of May 4th

>Description:

        MAKEDEV cuaA# or ttyaA fails due to the script not finding
	'cut' which is used for making the Specialix device nodes
	cuaA / ttyaA

>How-To-Repeat:

        see description

>Fix:

	Add /usr/bin to the PATH as set in the top of /dev/MAKEDEV

>Release-Note:
>Audit-Trail:

From: Peter Wemm <peter@netplex.com.au>
To: wkb@chello.nl
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/18400: path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to 
Date: Fri, 05 May 2000 14:10:11 -0700

 wkb@chello.nl wrote:
 > >Synopsis:       path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
 >
 >         MAKEDEV cuaA# or ttyaA fails due to the script not finding
 > 	'cut' which is used for making the Specialix device nodes
 > 	cuaA / ttyaA
 
 Please test this out for me:
 
 Index: MAKEDEV
 ===================================================================
 RCS file: /home/ncvs/src/etc/MAKEDEV,v
 retrieving revision 1.248
 diff -u -r1.248 MAKEDEV
 --- MAKEDEV	2000/05/01 10:43:06	1.248
 +++ MAKEDEV	2000/05/05 21:09:08
 @@ -1075,7 +1075,7 @@
  	port=1
  	while [ $port -le $nports ]; do
  		minor=`expr $port - 1`
 -		name=`expr $port + 1000 | cut -c 3-4`
 +		name=$(expr $port + 1000 | dd bs=1 skip=2 count=2 2>/dev/null)
  		mknod ttyA$name c $major $minor
  		mknod ttyiA$name c $major `expr $minor + 65536`
  		mknod ttylA$name c $major `expr $minor + 131072`
 
 
 Cheers,
 -Peter
 --
 Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
 "All of this is for nothing if we don't go to the stars" - JMS/B5
 
 

From: Wilko Bulte <wkb@chello.nl>
To: Peter Wemm <peter@netplex.com.au>
Cc: wkb@chello.nl, FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/18400: path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
Date: Sat, 6 May 2000 11:06:31 +0200

 On Fri, May 05, 2000 at 02:10:11PM -0700, Peter Wemm wrote:
 > wkb@chello.nl wrote:
 > > >Synopsis:       path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
 > >
 > >         MAKEDEV cuaA# or ttyaA fails due to the script not finding
 > > 	'cut' which is used for making the Specialix device nodes
 > > 	cuaA / ttyaA
 > 
 > Please test this out for me:
 > 
 > Index: MAKEDEV
 > ===================================================================
 > RCS file: /home/ncvs/src/etc/MAKEDEV,v
 > retrieving revision 1.248
 > diff -u -r1.248 MAKEDEV
 > --- MAKEDEV	2000/05/01 10:43:06	1.248
 > +++ MAKEDEV	2000/05/05 21:09:08
 > @@ -1075,7 +1075,7 @@
 >  	port=1
 >  	while [ $port -le $nports ]; do
 >  		minor=`expr $port - 1`
 > -		name=`expr $port + 1000 | cut -c 3-4`
 > +		name=$(expr $port + 1000 | dd bs=1 skip=2 count=2 2>/dev/null)
 >  		mknod ttyA$name c $major $minor
 >  		mknod ttyiA$name c $major `expr $minor + 65536`
 >  		mknod ttylA$name c $major `expr $minor + 131072`
 > 
 
 Works OK, but please also use this in the cuaA*) target, the dialout
 nodes for the Specialix. Lives just below the ttyA entry.
 
 Thanks,
 W/
 -- 
 Wilko Bulte 		Powered by FreeBSD  	http://www.freebsd.org
 						http://www.tcja.nl
 
State-Changed-From-To: open->closed 
State-Changed-By: nrahlstr 
State-Changed-When: Mon Jun 12 17:31:01 PDT 2000 
State-Changed-Why:  
This was fixed by peter in revision 1.251 of etc/MAKEDEV. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=18400 
>Unformatted:
 fail
