WebNFS Developer's Guide

Why Won't My NFS URL Work with a Non-WebNFS Server?

If the Java NFS client cannot evaluate the URL using the WebNFS technique, it will fall back to using the MOUNT protocol. While WebNFS paths are evaluated relative to the directory associated with a public filehandle, MOUNT paths are absolute. For UNIX servers this means that the path must start with a slash. The slash in the NFS URL that separates the server name from the pathname is not considered to be a part of the pathname. To have the pathname begin with a slash you need to add a second slash, e.g. if mounting /export/home from the non-WebNFS server dopey you use the following path:



 nfs://dopey//export/home