Subject: Re: multiple NFS ports
To: Benjamin Lorenz <lorenz@ps.uni-sb.de>
From: Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de>
List: tech-kern
Date: 07/29/1998 11:48:57
Excerpts from netbsd: 28-Jul-98 Re: multiple NFS ports Benjamin
Lorenz@ps.uni-s (1542*)

> cfs works as kind of an alternate nfs server which can be used to "mirror"
> a directory (with crypted files in it) under /crypt/something.
> [...]

I see. Perhaps not the most clever design...
After looking at "rumba", I think what they did
there is most appropriate for the cfs case too.
(The acronym "cfs" is hopelessly overloaded btw.)
This means: start the server, let it open the server
socket (it does not even need to be a wellknown
port), and call the "mount" system call directly with
your socket address in struct nfs_args->addr.
There is no need for a "mount" RPC.
(I'm assuming here that cfs is always used locally.)

best regards
Matthias