Dell 720N Laptop User Manual


 
Command ReferenceA-123
NAME
exports - directories and files exported to NFS clients
SYNOPSIS
/etc/exports
DESCRIPTION
The /etc/exports file contains a list of directories and files that are exported by
the filer. Changes to this file do not take effect until the filer executes the
exportfs command or the filer is rebooted. When the filer is rebooted, it exe-
cutes the exportfs -a command from the /etc/rc script to export all files and
directories listed in the /etc/exports file.
Each export entry is a line in the following format:
pathname
-
option
[,
option
] ...
The following list describes the fields in an export entry:
pathname
path name of a file or directory to be exported.
option
the export option specifying how a file or directory is exported. You
can specify the option in one of the following formats:
access=
hostname
[:hostname]...
Give mount access to each host listed. Alternatively, you can specify a net-
group instead of a host in the list. The netgroup must be defined in the /etc/
netgroup file. Whether the hosts can mount
pathname
with root access,
read-and-write access, or read-only access depends on how you use the
root, rw, and ro options, as described below.
anon=
uid
If a request comes from user ID of 0 (root user ID on the client), use
uid
as
the effective user ID unless the client host is included in the root option. The
default value of
uid
is 65534. To disable root access, set
uid
to 65535. To
grant root access to all clients, set
uid
to 0.
ro
Export the
pathname
read-only. If you do not specify this option, the
path-
name
is exported read-write.
rw=
hostname
[:hostname]...
Export the
pathname
read-only to all hosts not specified in the list and read-
write to the hosts in the list. Netgroup names are not allowed in the list.
root=
hostname
[:hostname]...
Give root access only to the specified hosts. By default, no hosts are granted
root access. Netgroup names are not allowed in the list.
exports