Which mount options will automounter use to mount the filesystems listed in /etc/auto.direct?

Examine these configuration files:
# cat /etc/auto.master

/net-hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 o16:/export/share1
/nfs2 -sync o16:/export/share2
/nfs o16:/export/share3
Which mount options will automounter use to mount the filesystems listed in /etc/auto.direct?

Examine these configuration files:
# cat /etc/auto.master

/net-hosts
/- auto.direct ro
# cat /etc/auto.direct
/nfs1 o16:/export/share1
/nfs2 -sync o16:/export/share2
/nfs o16:/export/share3
Which mount options will automounter use to mount the filesystems listed in /etc/auto.direct?

A.
All three filesystems are mounted read-only, async.

B.
/nfs1 and /nfs3 are mounted read-only, async whereas /nfs2 mounted read-write, sync.

C.
/nfs1 and /nfs3 are mounted read-only, async whereas /nfs2 mounted read-only, sync.

D.
All three filesystems are mounted read-write, sync.

Explanation:



Leave a Reply 5

Your email address will not be published. Required fields are marked *


Jef Adams

Jef Adams

C is correct

Dilliadis

Dilliadis

D – is correct because options by defaults, ro, sync, wdelay, no_all_squash.

some.guy

some.guy

B is correct

Mount options specified in master map are not cumulative with mount options specified in other maps. Therefore, the defaults apply. Defaults are

rw, suid, dev, exec, auto, nouser, async, and relatime