Brian Biswas <[EMAIL PROTECTED]> writes:
> Here at UNC we have solaris machines running OS 5.7 in 32-bit mode and
> solaris machines running OS 5.7 in 64-bit mode, both with AFS 3.6. This
> is causing problems because "fs sysname" returns the same string:
> "sun4x_57". Other applications (for example, lsf) use different
> binaries depending on whether they are being run on a 64-bit or a 32-bit
> machine. We use the @sys string to determine the correct version of the
> binaries to invoke. However, since the @sys name is the same for both
> machines we can't do that.
Have you considered just wrapping those binaries that care (which I would
guess isn't very many, although I could be wrong) in a shell script that
runs a command to see what mode the system is currently running in and
execs the appropriate binary? That's the simple, low-tech solution.
--
Russ Allbery ([EMAIL PROTECTED]) <URL:http://www.eyrie.org/~eagle/>