From owner-freebsd-current Mon Mar 9 17:46:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA29592 for freebsd-current-outgoing; Mon, 9 Mar 1998 17:46:58 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA29583 for ; Mon, 9 Mar 1998 17:46:55 -0800 (PST) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id BAA28312; Tue, 10 Mar 1998 01:46:01 GMT Date: Tue, 10 Mar 1998 10:46:00 +0900 (JST) From: Michael Hancock To: Anatoly Vorobey cc: Nate Williams , current@FreeBSD.ORG Subject: Re: vnode_pager: *** WARNING *** stale FS code in system In-Reply-To: <19980309194602.38788@techunix.technion.ac.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 9 Mar 1998, Anatoly Vorobey wrote: > > > > Traditional OOP does this right, since you inherit from the class below > > > > you, and not from the base class. If you want to inherit from the base > > > > class, you inherit from it and not a subclass. > > > > > > But do you get the mappings from layer1 and layer3? They both touch the > > > results that finally get to the top. > > > > If you want them to, then yes. > > So, does the stacking layer support multiple inheritance? :) Sort of. It's called fan-out, where you have a single layer stacked across multiple lower layers. e.g. a vfs-based mirroring implementation or unionfs. Unionfs is pretty cool, your lower layer could be your cd and the upper layer could be a directory in an ffs system. You can compile over your cdrom as if it were writable. There's also fan-in where multiple layers are stacked horizontally across a single lower layer. Mike Hancock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message