*BSD News Article 34833


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!reuter.cse.ogi.edu!cs.uoregon.edu!usenet.ee.pdx.edu!fastrac.llnl.gov!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!dog.ee.lbl.gov!ihnp4.ucsd.edu!library.ucla.edu!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!uunet!news.sprintlink.net!demon!minnow.render.com!minnow.render.com!dfr
From: dfr@render.com (Doug Rabson)
Newsgroups: comp.os.386bsd.bugs
Subject: Re: RockRidge fixes for FreeBSD-1.1.5 (long)
Date: 22 Aug 1994 14:29:43 GMT
Organization: RenderMorphics Ltd.
Lines: 21
Message-ID: <DFR.94Aug22152943@minnow.render.com>
References: <DFR.94Aug22133125@minnow.render.com>
NNTP-Posting-Host: minnow.render.com
In-reply-to: dfr@render.com's message of 22 Aug 1994 12:31:25 GMT

I wrote:
> I have minimally tested it and it appears to work for my only
> RockRidge CD (X11R6) and several ordinary CDs.  There appears to be a
> problem in exporting CDs over NFS.  Some long directories get
> truncated.
> 

I looked into the NFS problem and it seems to be caused by some
invalid assumptions made by nfs_readdir where it generates the
directory seek cookies returned by the READDIR request.  The result is
that for directories which span more than one block, the second
READDIR is made to the wrong place.

It appears that NetBSD fixes this by a modification to VFS which
allows the filesystem to return a vector of cookies with the VFS
readdir operation.  I suppose that this change is part of 4.4bsd and
therefore FreeBSD-2.0 but in the meantime, I am stuck.
--
Doug Rabson, RenderMorphics Ltd.	Mail:  dfr@render.com
					Phone: +44 71 251 4411
					FAX:   +44 71 251 0939