Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 1998 10:46:00 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Anatoly Vorobey <mellon@pobox.com>
Cc:        Nate Williams <nate@mt.sri.com>, current@FreeBSD.ORG
Subject:   Re: vnode_pager: *** WARNING *** stale FS code in system
Message-ID:  <Pine.SV4.3.95.980310103954.27993B-100000@parkplace.cet.co.jp>
In-Reply-To: <19980309194602.38788@techunix.technion.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980310103954.27993B-100000>