System Management

The /etc/auto.master file contains the line "/shares /etc/auto.shares". An administrator wants an access to /shares/reports to mount the NFS export nfs01:/export/reports read-only on demand. Which line belongs in /etc/auto.shares?

Show the answer

Correct answerD. reports -fstype=nfs,ro nfs01:/export/reports

In an indirect map, the key is the subdirectory name relative to the master map mount point, followed by -fstype and options, then the server:path location. The full-path key is tempting, but indirect map keys must not include the parent path.