From owner-freebsd-current@FreeBSD.ORG Sun Feb 8 15:27:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DF9816A4CE for ; Sun, 8 Feb 2004 15:27:30 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE83043D1F for ; Sun, 8 Feb 2004 15:27:29 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i18NRAGX006515; Mon, 9 Feb 2004 00:27:11 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Garance A Drosihn From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 08 Feb 2004 16:54:23 EST." Date: Mon, 09 Feb 2004 00:27:10 +0100 Message-ID: <6514.1076282830@critter.freebsd.dk> cc: Julian Elischer cc: current@freebsd.org Subject: Re: Review/Test: Pseudo-device unit number management patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 23:27:30 -0000 In message , Garance A Drosihn writes: >At 9:11 AM +0100 2/8/04, Poul-Henning Kamp wrote: >>Julian Elischer writes: >> > >> > Previously, nmdm started off with 4 devices visible in /dev now >> > I don't see that.. The old behaviour was intuitive... You saw >> > a device. >> >>This new behaviour is called a "cloning device" and it doesn't >>allocate any resources until they are actually needed, which I >>believe is the correct behaviour for pseudo-devices. > >Could there be some kind of fake "marker-device" sitting there, >one which would use basically no resources, and which would >change to the real-device when someone opens it? No, that is not possible with the model we have chosen. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.