On Apr 10, 2007, at 2:13 PM, chas williams - CONTRACTOR wrote:

In message <[EMAIL PROTECTED]>,Steve Simmons write
s:
   open( FSDATA, "vos listaddrs -noauth |" );

multihomed cells will be listed more than once.  perhaps uniq
would be helpful here.

   while ( $server = <FSDATA> ) {
        chomp $server;
       # I'm not thrilled with this, but it works for us
        next if $server !~ /^afs/;

my servers dont start with afs.  is this a common thing?

Most cells I've seen do that. But that particular line is a umich-ism that ought to be taken out.

otherwise, this script is pretty cool.

Thanks.

You also comment that multihomed cells would be listed more than once. Yes, uniq-ifying them would be good. Can you point me at a cell to test against?

Steve

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

Reply via email to