Summary
In this chapter, we have examined how to use the automounter to automatically mount commonly used remote drives, such as /home, to provide centralized file-sharing services on Solaris. We explored the uses of master, direct, and indirect maps, and reviewed some issues between NIS+ and the automounter.
Questions
1. | Which of the following programs must be running to support automount?
| ![]() |
2. | Which of the following is an example of the indirect map that is responsible for the directories in /home for the use pwatters on server toga?
| ![]() |
3. | Which of the following is an example of the direct map that is responsible for mapping the directory /games/adventure/misc on toga to /usr/local/games?
| ![]() |
4. | What command is used to check whether the automount daemon is running?
| ![]() |
5. | What command is used to start the automounter?
| ![]() |
Answers
1. | B. The automountd requires RPC support (rpcbind) to run. |
2. | D. Home directories are automounted under /home in this configuration. |
3. | A. The local mount point is always specified first. |
4. | A. The ps command must be used—there is no special checking command. |
5. | B. /etc/init.d/autofs is the default startup file. |