From owner-freebsd-bugs Tue Feb 6 15:40:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id DF02337B4EC for ; Tue, 6 Feb 2001 15:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f16Ne1909457; Tue, 6 Feb 2001 15:40:01 -0800 (PST) (envelope-from gnats) Received: from smtp.popsite.net (smtp.popsite.net [216.126.128.16]) by hub.freebsd.org (Postfix) with ESMTP id 01BE237B401 for ; 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 ; 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: Date: Tue, 06 Feb 2001 18:33:20 -0500 From: "T. William Wells" Reply-To: bill@twwells.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/24914: /dev explicitly referenced in MAKEDEV Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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