[OpenAFS] 'vos examine', 'Last update' and date format

Alf Wachsmann alfw@SLAC.Stanford.EDU
Wed, 27 Aug 2003 12:43:41 -0700 (PDT)


On Wed, 27 Aug 2003, Dan Pritts wrote:
> or better yet, submit a patch to vos so that everyone can have
> this functionality.

It is still a bit early to talk about it but the AFS Perl module
will be able to do all this soon.

SLAC sponsored a student to implement the still missing bos and vos
command APIs for the Perl module.

Soon, you will be able to do:
	use AFS::VOS;
	my $vos = AFS::VOS->new();
	my $volinfo = $vos->examine('root.cell');

	print "Last updated: ", $volinfo->{updateDate}, "\n";

which would print something like
	Last updated: 1046736123

We still have to sort out some "details" but the code is already all
there, so stay tuned...

-- Alf.

-----------------------------------------------------------------------
  Alf Wachsmann                       | e-mail: alfw@slac.stanford.edu
  SLAC Computing Service              | Phone:  +1-650-926-4802
  2575 Sand Hill Road, M/S 97         | FAX:    +1-650-926-3329
  Menlo Park, CA 94025, USA           | Office: Bldg. 50/323
-----------------------------------------------------------------------
                http://www.slac.stanford.edu/~alfw (PGP)
-----------------------------------------------------------------------