Subject: Re: more on CFS
To: Steven M. Bellovin <smb@research.att.com>
From: Adam Laurie <adam@algroup.co.uk>
List: tech-crypto
Date: 05/01/2001 21:50:29
"Steven M. Bellovin" wrote:
> 
> In message <3AEF17BC.682F4F8E@algroup.co.uk>, Adam Laurie writes:
> 
> >
> >>
> >> Also ensure that you compile with -DCFS_PORT=2049.  (And I'm not sure
> >> if my note on the lseek changes got through.)
> >
> >yep, always do. lseek changes?
> >
> 
> In cfs_fh.c, there are three calls to lseek().  The second operand in
> all of those calls in the distributed source is of type u_long; lseek()
> wants off_t.  Just insert a cast -- on the i386, those types are of
> different lengths.  The code probably need a lot more work to get that
> really right, but for now I'm willing to suffer with encrypted files of
> only 4G bytes.

and that was the final piece of the puzzle... cfs now fully functional
on hpcmips. very nice. thanks again.

cheers,
Adam
--
Adam Laurie                   Tel: +44 (20) 8742 0755
A.L. Digital Ltd.             Fax: +44 (20) 8742 5995
Voysey House                  http://www.thebunker.net
Barley Mow Passage            http://www.aldigital.co.uk
London W4 4GB                 mailto:adam@algroup.co.uk
UNITED KINGDOM                PGP key on keyservers