Go to the first, previous, next, last, above section, table of contents.

4.2.2 Exporting filesystems

To mount a directory from a remote host, the host has to export that directory via NFS. To do this, put the directorys name into `/etc/exports' on the remote host. Then issue showmount -e 127.0.0.1 to (re-)read `/etc/exports' and actually export that filesystem. Also, this command will show you all the directories you currently export.

Here's what FTP.UNI-REGENSBURG.DE's `/etc/exports' looks like to give DUSK (and everyone else) access to `/usr/aftp/pub/NetBSD-Amiga':

/usr/aftp/pub -rw=dusk.rz.uni-regensburg.de,root=dusk.rz.uni-regensburg.de

Again, there are a number of options to restrict access. Please refer to export(5) for documentation.


Go to the first, previous, next, last, above section, table of contents.