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:08:28
"Steven M. Bellovin" wrote:

> 
> I'm firing up CFS this way:
> 
> mountd && \
>         /usr/local/sbin/cfsd && \
>         mount -o intr,-2 127.0.0.1:/null /crypt
> 
> -2 gets the right version of NFS.  I have no idea why I have to say
> 127.0.0.1 instead of localhost; your -4 option may be working around
> the same problem.  (Btw, I'd suggest a different name than -4, since
> -2 and -3 control NFS versions.)

bingo!

   /sbin/mount -o intr,-2,-4 localhost:/null /crypt

works for me. excellent!

however, this would indicate a bug in mount_nfs - i never tried -2
because the man page says:

     -3      Use the NFS Version 3 protocol. The default is to try
version 3
             first, and fall back to version 2 if the mount fails.

i used -4 to be in line with -6 (listen to ipv6) used on nfsd. i needed
to put this in to allow rpcbind to pass the request to the ipv4 service
instead of the (nonexistant) ipv6 one as the current code will choose
ipv6 if the interface is capable.

> 
> 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?


> >
> >btw, if you're in touch with matt blaze is there any chance you can get
> >the export filter switched off on the homepage now that the u.s. has
> >dropped the restrictions?
> >
> I'll talk to Matt about that.  The issue may be the AT&T bureaucracy as
> well.

kewl.

thanks *much* for your help...

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