D-Link DNS-6040 Инструкция по эксплуатации онлайн [157/185] 42283

D-Link DNS-6040 Инструкция по эксплуатации онлайн [157/185] 42283
DNS-6040M/DNS-6040 User’s Manual
147
Using NIS (Network Information Service) is one solution
because NIS saves all mount information in the NIS server.
Once NFS clients join the NIS domain, they will be able to use
the shared directories on NFS servers through the function of
“automount” instead of modifying /etc/vfstab or /etc/fstab
individually. Most Unix systems (Solaris, Linux, FreeBSD etc.)
can be configured as an NIS server.
The following description is based on the settings on a Solaris
NIS server.
Master map is the database of the mount information on the NIS
server. Before building this database, administrators must edit
the pure text file /etc/auto_master as follows.
Master map: /etc/auto_master
#Directory Map Mount options
/net -hosts -rw
/home auto_home -nosuid
/- auto_direct
The first column in the file is the path to automount, which
means that when users at clients try to access this directory, the
link will be enabled automatically. In the second column, the
parameters are the paths for databases, which record the mount
information about the directory in the first column except for
“-hosts”. The example above has a special line “ /-auto_direct.”
/-is not a directory. The directories to be mounted are in the
database “auto_direct.” Its format is:
/etc/auto_direct

Содержание

Скачать