Microsoft Knowledge Base |
|
How Linktab.ini Helps with Interoperability |
|
|
Last reviewed: November 27, 1996
Article ID: Q157151 |
|
The information in this article applies to:
SUMMARYThe Linktab.ini file is an ASCII file that specifies a one-to-one relationship between UNIX and Windows NT paths. The Linktab.ini is a simple translation table that significantly improves the interoperability of Softimage 3D. It provides Softimage 3D with the necessary information to locate and load files that are either on a remote computer or are installed at a different location on the current computer. This article explains how the Linktab.ini file works.
MORE INFORMATION
Problems With Windows NT and IRIX InteroperabilityWhen you use Softimage 3D in heterogeneous environments, namely Windows NT and IRIX, there are a few important environmental differences. These differences are listed below:
Interoperability problems might occur in the following situations:
What The Linktab.ini File DoesThe Linktab.ini file is an ASCII file that specifies a one-to-one relationship between UNIX and Windows NT paths. Each line of the Linktab.ini file represents this relationship. By convention, the paths maintained in the file are UNIX style. Therefore, the Linktab.ini file is only required on Windows NT hosts and not IRIX hosts. The Linktab.ini is a simple translation table that significantly improves the interoperability of Softimage 3D. It provides Softimage 3D with the necessary information to locate and load files that are either on a remote computer or are installed in a different location on the current computer. This same information is also used when saving scenes from a Windows NT computer. When you distribute rendering, it associates shaders between UNIX and Windows NT.
How The Linktab.ini File WorksWhen Softimage 3D finds a Linktab.ini translation file, it ensures that scenes remain compatible across platforms. When Softimage 3D is launched, it looks for the Linktab.ini file in the directory pointed to by SI_LOCATION. If a Linktab.ini file is found, an internal table of path translation (Windows NT to UNIX and UNIX to Windows NT) is built. Internally, Softimage 3D builds the list of all network drives currently connected to the Windows NT computer as well as the associated mount point. This list, in conjunction with the Linktab.ini file, provides the necessary information to translate paths from Windows NT to UNIX. Path references are translated according to the following rules:
User1 and user2's accounts on SGI are "/home/user1" and "/home/user2" that are linked to "/mnt1/allusers/user1" and "/mnt1/allusers/user2". On the Windows NT computer, a network drive is connected (using NFS) to "sgi1:/mnt1/allusers" and in this case linked to, drive "h:".You build a Linktab.ini file that contains the following information:
sgi1:/mnt1/allusers!user1 /home/user1 sgi1:/mnt1/allusers!user2 /home/user2 sgi2:/usr/people/user3 /usr/people/user3 \\pc_server1\share_location /pc_server1When you load Softimage 3D, Softimage 3D encounters the path "/home/user1/...", and translates it to "h:/user1/...", which is the equivalent Windows NT path. In this example, the true mount point is "sgi1:/mnt1/allusers" and the exclamation mark indicates that only that portion of the path should be looked up in the current list of the NFS network drive. When you save a scene, the path is re-translated to the proper UNIX path "/home/user1/...". This ensures that scenes remain accessible from both platforms. Remember that the first path argument of each line is the Windows NT path, while the second path argument on each line is the UNIX equivalent. In the Linktab.ini file example given above, the third line indicates that the path "/usr/people/user3" comes from computer sgi2 at the same location. The fourth line indicates that an Windows NT file server is being used by both NT and UNIX computers. The fourth line indicates that on UNIX computers, references to files located on the "pc_server1" remote file server continue to use the UNIX path "/pc_server1" or this is to say that "\\pc_server1\share_location" is indeed mounted as "/pc_server1" on all UNIX computers.
MaintenanceThe Linktab.ini file is not maintained by Softimage 3D. When changes are made to the network configuration or data is moved from one physical location to another, this file must be updated accordingly. Since this procedure requires knowledge of both the Windows NT and IRIX operating systems, system administrators, should perform this task.
TroubleshootingSoftimage 3D's translation process can be dumped in a DOS shell by setting the SI_LINKTAB_DEBUG environment variable to "yes" prior to the dump. This trace lists all of the current translation information that Softimage 3D uses to match corresponding UNIX and Windows NT file names. Remember that the matching process is done from top to bottom, that is for a given path reference, the line entries of the Linktab.ini file are searched in order. Place the longest matching UNIX path first, because they are the most restrictive and should be processed first. This reduces the possibility of building a table with conflicting rules. The following is an example of Linktab.ini containing conflicting rules:
sgi1:/mnt1/allusers!user /home sgi2:/home/people/user3 /home/people/user3For example:
Softimage 3D loads a scene that references a path of the form "/home/people/user3". When the first path argument is applied the result is an invalid path like "h:/user2/people/user3". This is why the longest UNIX path should be placed first in the table.There are numerous examples of conflicting rules. If you are responsible for maintaining the Linktab.ini, you should always look for and re-order the rules, or, if possible, change the conflicting names. You should never match uppercase and lowercase letters in a path that will be exported to other platforms. This reduces the chances of miss-matching cases. Following is a check list to track interoperability problems:
REFERENCESIf you have any questions about the information in this article, contact support@softimage.com by e-mail.
|
|
KBCategory: kbhw kbnetwork kbgraphic kbhowto
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |