From owner-freebsd-hackers Thu Sep 11 20:53:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA27850 for hackers-outgoing; Thu, 11 Sep 1997 20:53:01 -0700 (PDT) Received: from word.smith.net.au (word.smith.net.au [202.0.75.3]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA27837 for ; Thu, 11 Sep 1997 20:52:55 -0700 (PDT) Received: from word.smith.net.au (localhost.smith.net.au [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id NAA00944; Fri, 12 Sep 1997 13:20:57 +1000 (EST) Message-Id: <199709120320.NAA00944@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: John-Mark Gurney cc: Mike Smith , Luigi Rizzo , freebsd-hackers@FreeBSD.ORG Subject: Re: PnP support In-reply-to: Your message of "Thu, 11 Sep 1997 05:04:07 MST." <19970911050407.06011@hydrogen.nike.efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Sep 1997 13:20:55 +1000 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > This is why I exhorted you to look at the extent manager in NetBSD. It > > allows you to define "extents" which are just arbitrary ranges of > > "something". I would visualise this being used as follows : ... > hehe... I was just thinking about this.. and writing a spec that was > very similar to this.. but I was also trying to extend the spec to > support the removal of resources (i.e. pccard gets removed)... You *really*really* should look at the NetBSD extent manager. It already allows for creation and deletion of extents, and basically all the minimal stuff you expect. > > I don't think that making these extents "private" would be at all > > helpful. Having them public, and referenced by name, will make it > > easier to access them. > > I agree... I assume your talking about id numbers?? No, I'm talking about some random piece of code being able to say "I want to allocate a range from x-y in the extent 'foo'", without having to be passed a handle for "foo" by the original creator. mike