» Linux »
Examen sur Linux »
Examen 201 : Advanced Administration »
Section 4 »
Question 4/20
Explanation: Autofs uses the automount daemon to manage your mount points by only mounting them
dynamically when they are accessed. Autofs consults the master map configuration file /etc/auto.master to
determine which mount points are defined. It then starts an automount process with the appropriate
parameters for each mount point. Each line in the master map defines a mount point and a separate map file that
defines the file systems to be mounted under this mount point. In this question, the /etc/auto.master file would
contain the line "/usr/local/debian /etc/auto.debian". /usr/local/debian is the mount point on the local machine.
/etc/auto.debian is the name of the map file that defines what should be mounted at the mount point. The
/etc/auto.debian file should contain "debian-ro,soft,intr:ftp.example-debian.org:/pub/debian". This contains the
mount point (debian), followed by some mount options (ro,soft,intr) followed by the directory to be mounted in
the form of hostname: directory (ftp.example-debian.org:/pub/debian).
Reference: http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/custom-guide/s1-nfs-mount.html
Incorrect Answers
A: There is no map file defined in this line.
C: The syntax is wrong. usr/local/debian :etc/auto.debian should be /usr/local/debian /etc/auto.debian.
D: There is no mount point (usr/local/debian) defined in this answer.
E: There is no mount point (usr/local/debian) defined in this answer.