Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 20:40:02 -0800 (PST)
From:      Matthew Jacob <mjacob@feral.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/25761: Off-by-one error in MAKEDEV wrt. pass(4) device.
Message-ID:  <200103140440.f2E4e2Z96030@freefall.freebsd.org>

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

From: Matthew Jacob <mjacob@feral.com>
To: todd.showalter@home.com
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/25761: Off-by-one error in MAKEDEV wrt. pass(4) device.
Date: Tue, 13 Mar 2001 20:36:25 -0800 (PST)

 I don't think this is quite right. The MAKEDEV script's man page doesn't say
 this, but for the few devices where the numeric argument is not the actual
 unit number you want created it seems that this is more an 'amount', so doing
 
 MAKEDEV pass4
 
 creates 4 pass devices (0..3). This code seems to probably have started with
 the vty devices. The comment in MAKEDEV appears to be:
 
 # Use this to create virtual consoles for syscons, pcvt or codrv
 # ttyv0-b
 # use as MAKEDEV vtyNN to create NN entries
 
 So, I think we can basically say, "Not a bug".
 
 -matt
 
 

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?200103140440.f2E4e2Z96030>