[OpenAFS] Add new fileserver

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Tue, 10 Apr 2007 14:13:51 -0400


In message <F0A0F28D-4DF4-48BE-B45B-B08C17D6CA7E@umich.edu>,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?

otherwise, this script is pretty cool.