User registries on linux (avoid creating multiple)
Article needs peer review
Question
Is there any way to avoid having a new registry file (e.g. registry.xsi_x.x.myMachine) created for every machine the User runs XSI on? These files can reach 3.5 mb each, and having every XSI user with 30 or so of these registry files for each version of XSI can become a little ridiculous to manage.
Answer
No matter what, one cannot avoid XSI creating User/Softimage directories and registries for each User, on each machine. That being said, you can however modify the MWREGISTRY variable (e.g. in the .xsi_x.x environments file), by removing the .${hostname) reference. What will happen is that each User will be able to share his/her registry on many different machines. The result of which there can be one Softimage directory, but with many registry entries, thus avoiding multiple Softimage directories as a result.
Here is a facsimile of the MWREGISTRY variable as it appears in the xsi_x.x environments file:
Example # Update the registry
set hostname=(?/usr/bsd/hostname -s?)
setenv MWREGISTRY "$SIUSERDIR/registry.xsi_2.02.${hostname}"
if ( ! -f "$MWREGISTRY" ) then
if ( ! -d "$SIUSERDIR" ) mkdir -p "$SIUSERDIR"
/bin/cp "$SI_HOME/Application/registry" "$MWREGISTRY"
endif
As already mentioned, simply remove the .${hostname} reference.
In the context of the situation mentioned above, there would be a few caveats to consider:
- Each machine must have XSI installed in the same installation path:
/usr/Softimage/XSI_x.x, or in a networked location such as /netfs/Softimage/XSI_x.x
- One cannot mix registries between/amongst Irix and Linux machines, as the Irix/Linux registries are incompatible.
Applies To: XSI 2.0,XSI 2.0.1 on Linux
Posted: 4/9/2002

