The following tables describe several of the factors you need to be aware of when administering autofs maps. Your choice of map and name service affect the mechanism that you need to use to make changes to the autofs maps.
The following table describes the types of maps and their uses.
Table 5–6 Types of autofs Maps and Their Uses
Type of Map |
Use |
---|---|
Associates a directory with a map |
|
Directs autofs to specific file systems |
|
Directs autofs to reference-oriented file systems |
The following table describes how to make changes to your autofs environment that are based on your name service.
Table 5–7 Map Maintenance
Name Service |
Method |
---|---|
Local files | |
NIS | |
NIS+ |
The next table tells you when to run the automount command, depending on the modification you have made to the type of map. For example, if you have made an addition or a deletion to a direct map, you need to run the automount command on the local system. By running the command, you make the change effective. However, if you have modified an existing entry, you do not need to run the automount command for the change to become effective.
Table 5–8 When to Run the automount Command
Type of Map |
Restart automount? |
|
---|---|---|
|
Addition or Deletion |
Modification |
Y |
Y |
|
Y |
N |
|
N |
N |