NFS + VM question

David Malone dwmalone at maths.tcd.ie
Fri Oct 15 08:26:52 PDT 2004


> > Since the server could actually hand out different content depending
> > on the mount instance, I don't think the NFS client could make these
> > assumptions. 

> Maybe I'm missing something,  but I'm not convinced that's true.
> NFS is "file-handle" centric: there's no real concept of a "mount
> point" at the server: the mount operation just  gives you a handle to
> the root directory, so if the two mounts from a server give the same
> file handles to a client, then the results should be consistent.

Yep - I guess you're right - I was thinking that the mountd could
be evil and hand out different file handles for the root directory
after each mount. If the caching was hung off the file handle and
identity of the client&server, then you could probably cache this
sort of thing safely.

	David.


More information about the freebsd-hackers mailing list