nfs within jail

David Scheidt dmschei at attglobal.net
Thu Dec 16 23:34:09 PST 2004


Matt wrote:

> stefan.schmidt at stadtbuch.de wrote:
>
>> Matt,
>>
>> there's nfsshell, an FTP-like client.
>> just google for nfsshell.
>>
>> Won't help in case of NFS4, I guess :-(
>>
>> Stefan
>>
>>  
>>
> Thanks.  I'd like to try the nfsshell, but I can't get it to build.  
> It doesn't appear to be a port either.  I'm an amateur C coder at 
> best.  Could someone take a quick look?  It's a very small program.  
> Sources are here: http://www.cs.vu.nl/pub/leendert/nfsshell.tar.gz
> Release doesn't use autoconfig.  Build dies with error:
>
> nfs.c:53:27: sys/sysmacros.h: No such file or directory
>

Commenting this line out is sufficent to compile.  You then need to 
change the LIBS line in the make file, removing -lsocket, -lnsl, and 
-lrpcsoc.  That's enough to make it link.  I'm unable to actually see if 
it'll work, though.

David




More information about the freebsd-hackers mailing list