System Administration Guide: Network Services

ProcedureHow 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 (NIS+).

  3. Notify your users of the changes.

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

    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.