21.6.2. Command Line Configuration
/etc/exportsfile controls what directories the NFS server exports. Its format is as follows:
syncis recommended). If
syncis specified, the server does not reply to requests before the changes made by the request are written to the disk.
/misc/exportwith the default read-only permissions, but,
/misc/exportwith read/write privileges.
/etc/exportsfile. If there are no spaces between the hostname and the options in parentheses, the options apply only to the hostname. If there is a space between the hostname and the options, the options apply to the rest of the world. For example, examine the following lines:
/misc/export speedy.example.com(rw,sync) /misc/export speedy.example.com (rw,sync)
speedy.example.comread-write access and denies all other users. The second line grants users from
speedy.example.comread-only access (the default) and allows the rest of the world read-write access.
/etc/exports, you must inform the NFS daemon of the change, or reload the configuration file with the following command:
service nfs reload