Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 18:33:20 -0500
From:      "T. William Wells" <bill@twwells.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/24914: /dev explicitly referenced in MAKEDEV
Message-ID:  <E14QHbs-000KJd-00@twwells.com>

next in thread | raw e-mail | index | archive | help

>Number:         24914
>Category:       bin
>Synopsis:       /dev explicitly referenced in MAKEDEV
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 15:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


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?E14QHbs-000KJd-00>