[OpenAFS-devel] Re: OpenAFS: conventions for new @sys? (rs_aix43 s390_linux22)

R. Lindsay Todd toddr@rpi.edu
Mon, 06 Nov 2000 15:04:25 -0500


Bob Cook wrote:

> >Now, a 'fs sysname -short' would be nice.
>
> You mean, like 'sys'?

The problem with "sys" is that it returns the compiled-in sysname, while
"fs sysname" returns the current @sys expansion, which may have been
changed with "fs sysname -new".  When I began setting @sys on our
AIX 4.3 systems to rs_aix43, we had a bunch of scripts using "sys"
break.  Now they parse out the correct result from "fs sysname", but it
is clunky.

I think many AFS command would benefit from an option that made the
results easier to parse from scripts...

--
R. Lindsay Todd                          email: toddr@rpi.edu
Senior Systems Programmer                phone: 518-276-2605
Rensselaer Polytechnic Institute         fax:   518-276-2809
Troy, NY 12180-3590                      WWW:   http://www.rpi.edu/~toddr