A SERVICE OF

logo

NFS Administration 6-7
7KHUZ2SWLRQ
The
-rw
option lists the hosts that can modify the exported directories; hosts not
listed by the
-rw
option have read privilege only.
6\QWD[
The syntax for the
-rw
option is as follows:
-rw=
hostname
[:...:
hostname
]
/LPLWV
You can specify 1 to 256 host names with the
-rw
option.
5HVWULFWLRQV
You cannot use netgroup names with the
-rw
option.
7KHUR2SWLRQ
The
-ro
option lists the clients that cannot modify the exported directories.
6\QWD[
The syntax for the
-ro
option is as follows:
-ro=hostname[:...:hostname]
7KHH[SRUWIV&RPPDQG
8VLQJWKHH[SRUWIV&RPPDQG
You use the
exportfs
command to export and unexport volumes and directories.
Depending on which options you use, the command exports the volumes and directo-
ries listed in the
/etc/exports
file or a specific volume or directory.
6\QWD[
The syntax for the
exportfs
command is as follows:
exportfs [ -aiuv ] [ -o options ][
filer_directory_path
]
Table 6-1 describes the options.