From owner-freebsd-arch@FreeBSD.ORG Tue Sep 30 18:20:17 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2879516A4F4; Tue, 30 Sep 2003 18:20:17 -0700 (PDT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B921D43FDF; Tue, 30 Sep 2003 18:20:15 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by comcast.net (sccrmhc13) with ESMTP id <20031001012014016005m212e>; Wed, 1 Oct 2003 01:20:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id OAA31125; Sun, 28 Sep 2003 14:53:35 -0700 (PDT) Date: Sun, 28 Sep 2003 14:53:34 -0700 (PDT) From: Julian Elischer To: Poul-Henning Kamp In-Reply-To: <653.1064784127@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@freebsd.org cc: current@freebsd.org Subject: Re: HEADSUP: Change of makedev() semantics. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2003 01:20:17 -0000 On Sun, 28 Sep 2003, Poul-Henning Kamp wrote: > Basically: > > 1. Do not call makedev(). > > 2. If you do cloning, please look at the patches I posted > for if_tun/if_tap for how to do it. > show an actual document please, explaining how this works from the user's POV.. > 3. If you do a "normal" device driver, cache the result > from when you call make_dev(). > > 4. If you translate "foreign dev_t's", ie emulators or > compat code, contact me. I'm not sure I understand > how this works and should work and we need to talk. > > 5. If anything else or in doubt, ask me. more docs on how you invisage clonign to work. > > Can I see some volounteers and/or maintainers please ? > > ./dev/nmdm/nmdm.c > pseudo-cloning. Should do real cloning. > If the documentation is easily available and it does what I want I'll convert it.. It may be available but I haven't seen it.. man make_dev(9) doesn't have any 'see also' section that helps.. So, why should I not revoke a vnode that now refers to nothing?