next up previous contents index
Next: Mounting Directories Up: NFS/NIS Servers Previous: NFS/NIS Servers   Contents   Index


Exporting Directories

NFS allows you to export a directory onto the network. This can be done with the /etc/exports file by creating a line that looks like this:

/disk 192.168.1.0/24(rw)

This exports the /disk directory to the whole 192.168.1.0/24 class C network. Any machine on that network may then mount the filesystem and both read and write to it. You could also pick to export to just one machine if you wanted to with a line like this:

/disk 192.168.1.1(rw)

You can also export to machines by name.


Joseph Colton 2002-09-24