Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2000 01:10:11 -0700 (PDT)
From:      Wilko Bulte <wkb@chello.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/18400: path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to
Message-ID:  <200005070810.BAA64613@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/18400; it has been noted by GNATS.

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
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005070810.BAA64613>