From owner-freebsd-arch Wed Jan 15 10:14:27 2003 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 5EF7C37B401 for ; Wed, 15 Jan 2003 10:14:26 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4013143F6B for ; Wed, 15 Jan 2003 10:14:23 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0FIE09O017953; Wed, 15 Jan 2003 19:14:00 +0100 (CET) (envelope-from phk@freebsd.org) To: Andrew Gallatin Cc: arch@freebsd.org Subject: Re: HEADSUP: DEVFS and GEOM mandatorification timeline. From: phk@freebsd.org In-Reply-To: Your message of "Wed, 15 Jan 2003 13:08:13 EST." <15909.41869.176059.969484@grasshopper.cs.duke.edu> Date: Wed, 15 Jan 2003 19:14:00 +0100 Message-ID: <17952.1042654440@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <15909.41869.176059.969484@grasshopper.cs.duke.edu>, Andrew Gallatin writes: > > >Weren't you talking about changing the driver interface in such a way > > >as to make factory devices easier to implement on FreeBSD? I would > > >*love* to see this in 5.0-stable so that I don't have to support the > > >clunky old way I came up with to handle it (conjuring a vnode out of > > >thin air..) Or am I all wet, and its easy to do now? > > > > There are a number of ways to do this, none easy (IMO). > > > > I understand what you want, but I don't think we can credibly claim > > to get this into any working shape for 5-stable. > >I obviously don't know this code as well as you do, but I'd think >that adding a 'struct file *fp' pointer to the list of args >that the various vops take would be all thats needed. What am I >missing? "all the details" ? :-) There are a fair number of issues in this area that needs addressed, this is just one of them. Doing things right here will take more than a couple of months time (incl. testing), And without address to anybody in particular: it should not be done in a few hours time by some "HeldenHacker" who think this is trivial, there is a whole host of locking issues related to semi-magic devices like /dev/fd/* and similar which needs careful thought. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message