> 
> I wrote Transarc, asking if there would eventually be different sysnames
> for the 32- and 64-bit versions of AFS 3.6. They said both versions will
> have the sysname "sun4x_57".
> 
> Our initial thought was to set sysname ourself, using "sun4u_57" for 
> 64-bit machines and "sun4x_57" for 32-bit machines. Ah, but then what 
> do you do about 64-bit machines running in 32-bit mode? And of
> course the AFS "sys" command will always return "sun4x_57"; we'd have to modi
fy 
> that binary as well...
> 
> Has anyone else run up against this? Any thoughts on how to
> address the problem?

Unless transarc has changed something in 3.6 what is returned by fs
sysname or @sys is actually controlled with the fs command.  If you
run "fs sysname <new sysname>" then @sys will be whatever <new sysname> 
was.

Using that you should be able to put together a script that run
as partof the AFS startup and figures out the appropriate value.  The
64 bit machines in 32 bit mode might make it interesting, but that's
just because I don't know the magic command to ask the system
what mode it is in.

thanx
 -jmck
--
Jim McKinney                                    [EMAIL PROTECTED]
System Administrator Manager, ECE               Office: HH1304
Carnegie Mellon University                      (412) 268-5141
Age doesn't always bring wisdom. Sometimes age comes alone.

Reply via email to