System Administration Guide: Resource Management and Network Services

How to Modify Direct Maps

  1. Log in as a user who has permissions to change the maps.

  2. Using the nistbladm command, add or delete your changes to the direct map.

    See the System Administration Guide: Naming and Directory Services (FNS and NIS+).

  3. If you added or deleted a mount-point entry in step 1, run the automount command.

  4. Notify your users of the changes.

    Notification is required so that the users can also run the automount command as superuser on their own computers.


    Note –

    If you only modify or change the contents of an existing direct map entry, you do not need to run the automount command.


    For example, suppose you modify the auto_direct map so that the /usr/src directory is now mounted from a different server. If /usr/src is not mounted at this time, the new entry becomes effective immediately when you try to access /usr/src. If /usr/src is mounted now, you can wait until the auto-unmounting occurs, then access the file.


    Note –

    Use indirect maps whenever possible. Indirect maps are easier to construct and less demanding on the computers' file systems. Also, indirect maps do not occupy as much space in the mount table as direct maps.