From bill@twwells.com  Tue Feb  6 15:34:24 2001
Return-Path: <bill@twwells.com>
Received: from smtp.popsite.net (smtp.popsite.net [216.126.128.16])
	by hub.freebsd.org (Postfix) with ESMTP id 01BE237B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Feb 2001 15:34:24 -0800 (PST)
Received: from twwells.com (04-202.051.popsite.net [64.24.21.202])
	by smtp.popsite.net (Postfix) with ESMTP id A43E5FEBC
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  6 Feb 2001 17:34:19 -0600 (CST)
Received: from bill by twwells.com with local (Exim 3.20 #1)
	id 14QHbs-000KJd-00
	for FreeBSD-gnats-submit@freebsd.org; Tue, 06 Feb 2001 18:33:20 -0500
Message-Id: <E14QHbs-000KJd-00@twwells.com>
Date: Tue, 06 Feb 2001 18:33:20 -0500
From: "T. William Wells" <bill@twwells.com>
Reply-To: bill@twwells.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: /dev explicitly referenced in MAKEDEV
X-Send-Pr-Version: 3.2

>Number:         24914
>Category:       bin
>Synopsis:       /dev explicitly referenced in MAKEDEV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 15:40:01 PST 2001
>Closed-Date:    Thu Jun 28 00:07:47 PDT 2001
>Last-Modified:  Thu Jun 28 00:08:01 PDT 2001
>Originator:     T. William Wells
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

	4.2-STABLE as of 2/5/2001

>Description:

	I was poking around in /dev/MAKEDEV because I wanted to
	know if it could safely be used to create device nodes in
	directories other than /dev. The answer is "almost".

	A minor nit: pty* references /dev/null so, if one happened
	to not have a /dev/null, a *file* will get created there.

	cuaR? and ttyR? both explicitly reference /dev, unlike
	everything else. Thus attempting to create these elsewhere
	will fail.

>How-To-Repeat:

	Read the source. :)

>Fix:

	I expect that simply removing the /dev/'s will fix it.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Thu Jun 28 00:07:47 PDT 2001 
State-Changed-Why:  
Duplicate of 21394. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24914 
>Unformatted:
