Of course, you could also just look for the "built" string in the binary:

    strings /usr/sbin/afsd | grep '^@(#).* built '

That's always worked for me (on all platforms).

On Sunday, February 20, 2005, at 10:39 AM, Derrick J Brashear wrote:

On Sun, 20 Feb 2005, Garance A Drosihn wrote:

At 12:51 PM -0500 2/18/05, Derrick J Brashear wrote:
On Fri, 18 Feb 2005, Troy Benjegerdes wrote:
I'd like to ask that there be some easy way to get version information..
either by including it in the MacOS package binary name, or by 'afsd
--version'.
--version doesn't fit with any of the other afsd flags, and unless
you mean the filename of the package, including it in the package
name itself will mean we don't upgrade old versions. It will be
there, correct, in the plist files, at least, now, the question is
what can be done with that?

Would it be easy to have a file /var/db/openafs/etc/version and just write the correct version-number into that file?

No easier than just making the one in /var/db/openafs/etc/afs.kext/Contents/Info.plist be correct.


_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info


-----------------------------------------------------------------------
Antoine Verheijen                  Email: [EMAIL PROTECTED]
CNS Network Services               Phone: (780) 492-9312
University of Alberta              Fax:   (780) 492-1729

_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to