From owner-freebsd-fs Tue Jul 11 0:44:45 2000 Delivered-To: freebsd-fs@freebsd.org Received: from gateway.posi.net (c1096725-a.smateo1.sfba.home.com [24.20.139.104]) by hub.freebsd.org (Postfix) with ESMTP id 43C6A37B941 for ; Tue, 11 Jul 2000 00:44:39 -0700 (PDT) (envelope-from kbyanc@posi.net) Received: from localhost (kbyanc@localhost) by gateway.posi.net (8.9.3/8.9.3) with ESMTP id AAA36519; Tue, 11 Jul 2000 00:49:23 -0700 (PDT) (envelope-from kbyanc@posi.net) Date: Tue, 11 Jul 2000 00:49:22 -0700 (PDT) From: Kelly Yancey To: Dmitry Brodsky Cc: freebsd-fs@FreeBSD.ORG Subject: Re: Meta-Data & stackable FS In-Reply-To: <200007102330.QAA06084@cascade.cs.ubc.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 10 Jul 2000, Dmitry Brodsky wrote: > Hi, > > I am in the process of creating a stackable fs by using the nullfs as > a template. One thing I am having a hard time figuring out is a good > way to instantiate additional meta-data with each file. Is that > possible? What is the best way of going about doing that? > Use the v_data pointer on your vnodes to point to your local meta-data. Now, if you need this meta-data to be persistent, that's another matter entirely. In that case, you'll probably want to look at umapfs or the quota code for reference. Kelly -- Kelly Yancey - kbyanc@posi.net - Belmont, CA System Administrator, eGroups.com http://www.egroups.com/ Maintainer, BSD Driver Database http://www.posi.net/freebsd/drivers/ Coordinator, Team FreeBSD http://www.posi.net/freebsd/Team-FreeBSD/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message