Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2001 11:01:02 -0700 (PDT)
From:      patl@Phoenix.Volant.ORG
To:        tlambert2@mindspring.com
Cc:        Peter Wemm <peter@wemm.org>, FreeBSD-FS@FreeBSD.ORG, FreeBSD-Arch@FreeBSD.ORG
Subject:   Re: nullfs fixes [Was: Support for pivot_root-like system call?]
Message-ID:  <ML-3.4.992109662.444.patl@asimov.phoenix.volant.org>
In-Reply-To: <3B225E32.484672C@mindspring.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On  9-Jun-01 at 10:34, Terry Lambert (tlambert2@mindspring.com) wrote:
> patl@Phoenix.Volant.ORG wrote:
> > 
> > On  8-Jun-01 at 08:30, Peter Wemm (peter@wemm.org) wrote:
> > > Terry, the 'cache coherency' bugs have been fixed in
> > > -current for ~8 months now (September 2000).  The
> > >  infrastructure changes for this are subject to a
> > >  call-for-review right now for a merge to 4.x.
> > 
> > This is -VERY- good news.  I just have two questions:
> > 
> > 1.  Which currently broken filesystems in STABLE become usable with
> >     these fixes?
> 
> The fix is _my_ design.  It permits the code to get the
> backing object for a vm_object_t, instead of an alias.
> 
> ...
> 
> In answer to your question, the FS's which become usable
> are the ones for which the final VP is the local media
> file system, and for which there are no transformations
> in the FS's layered on top of it.
> 
> ...
>
> In other words, the code will work in about 1/4 of the
> cases... which, however you look at it, is a hell of a
> lot better than 0 of the cases, and _does_ represent
> forward progress.  It's just not the panacea that Peter
> makes it out to be.


Hmm.  I would like to see a complete fix, some of the possibilities
are quite interesting.  BUT it sounds like this is enough to take
care of my immediate need; which is for a way to setup jails with
a read-only shared base filesystem (holding the system files and
installed ports/packages), overlayed with a writeable per-jail
tree with configuration and jail-specific data files.  And to have
the per-jail trees -really- be separate directories within a shared
partition on the host system so that I don't have to worry about
partition allocation issues.


Aside from the obvious virtual hosting application, I see this
setup as being quite useful for port maintainers as a tool for
making it easier to determine exactly which files and directories
are created or modified during an install.  (Make a jail filesystem
and install all the dependancies in it.  Make the port.  Overlay
an empty directory over the jail fs.  Make install.  Examine the
overlayed fs from outside the jail.  Any files in it must have been
edited or created by the install.  Checking directories is slightly
more work but still pretty easy.) 



-Pat

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ML-3.4.992109662.444.patl>