particular map type, which takes the form of other configuration files, programs, NIS maps, and
other less common mount methods. The
these mount points, organized in the following manner:
<mount-point><map-type>
The
element specifies the location of the mount on the local file system. The
<mount-point>
specifies how the mount point is mounted. The most common method for auto
<map-type>
mounting NFS exports is to use a file as the map type for the particular mount point. The map
file is usually named
auto.<mount-point>
designated in
auto.master
following example:
</local/directory> -<options><server>:</remote/export>
Replace
</local/directory;>
mounted. This mount point must exist before the map file is read, else the mount fails.
Replace
with a comma separated list of options for the NFS file system (refer to
<options>
Section 4.3, "Common NFS Mount Options"
(
) immediately before the options list.
-
Replace
with the hostname, IP address, or fully qualified domain name of the server
<server>
exporting the file system.
Replace
</remote/export>
Replace
with a comma separated list of options for the NFS file system (refer to
<options>
Section 4.3, "Common NFS Mount Options"
While
configuration files can be used for a variety of mounts to many types of devices
autofs
and file systems, they are particularly useful in creating NFS mounts. For example, some
organizations store a user's
configure the
auto.master
containing the specifics for how to mount the
access personal data and configuration files in their
the network. The
auto.master
/home /etc/auto.home
This sets up the
/home/
file, which looks similar to the example below:
/etc/auto.home
* -fstype=nfs4,soft,intr,rsize=32768,wsize=32768,nosuid
server.example.com:/home
auto.master
, where
. A line within map files to mount an NFS export looks like the
with the local file system on which the exported directory is
for details). Be sure to include the hyphen character
with the path to the exported directory.
for details).
directory on a central server via an NFS share, then
/home/
file on each of the workstations to point to an
/home/
file in this situation would look similar to this:
mount point on the local system to be configured by the
file contains lines referring to each of
is the mount point
<mount-point>
directory via NFS. This allows the user to
directory by logging in anywhere on
/home/
autofs
file
auto.home
141
Need help?
Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?
Questions and answers