Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 May 2000 01:10:05 -0700 (PDT)
From:      Peter Wemm <peter@netplex.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/18400: path /dev/MAKEDEV lacks /usr/bin, causing cuaA/ttyA make to 
Message-ID:  <200005070810.BAA64557@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: 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
 
 


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.BAA64557>