[OpenAFS-devel] how to use cacheout

Jason Edgecombe jason@rampaginggeek.com
Tue, 31 Aug 2010 22:09:17 -0400


On 08/31/2010 09:29 PM, Jeffrey Hutzelman wrote:
> --On Tuesday, August 31, 2010 08:05:07 PM -0400 Jason Edgecombe 
> <jason@rampaginggeek.com> wrote:
>
>> hi everyone,
>>
>> I tried to use src/venus/cacheout.c from the current master, but it
>> segfaulted. The -help option is next to useless.
>>
>> I read that this is a tool to force a fileserver to refresh IP ACL's.
>
> At first glance it does appear to be such a tool.  I have no idea 
> whether anyone's tried to build or use it lately.
>
> Try /afs/cs.cmu.edu/misc/afstools/src/afstools-head/util/flushcps.c

It doesn't build on RHEL5.4 x86_64 with OpenAFS 1.4.11:

% gcc flushcps.c
/tmp/ccCasuK9.o: In function `main':
flushcps.c:(.text+0x359): undefined reference to `rx_Init'
flushcps.c:(.text+0x35e): undefined reference to 
`rxnull_NewClientSecurityObject'
flushcps.c:(.text+0x386): undefined reference to `rx_NewConnection'
flushcps.c:(.text+0x3b7): undefined reference to `RXAFS_FlushCPS'
collect2: ld returned 1 exit status

Any insights?

Thanks,
Jason