[OpenAFS] SUN Solaris package for Openafs.

Derek Atkins warlord@MIT.EDU
Thu, 08 Apr 2004 12:13:24 -0400


So if BosConfig says /usr/afs/bin/fileserver, but the
@afssrvlibexecdir@ is /usr/sbin, it will actually find the program?
Is "/usr/afs/bin" some magic string in the code?

How would this work is BosConfig was created with version-1 and
then used with version-2, where @afssrvlibexecdir@ changed
between versions 1 and 2?

-derek

Jeffrey Hutzelman <jhutz@cmu.edu> writes:

> Actually, no, you don't.  The paths to the various programs the
> bosserver normally runs are actually protocol constants; they don't
> have to change depending on where the binaries actually are.
>
> So if you say
>
> bos create foobar fs fs /usr/afs/bin/fileserver /usr/afs/bin/volserevr
> /usr/afs/bin/salvager
>
> Then you will get a fs bnode that expects to find the fileserver,
> volserver, and salvager in @afssrvlibexecdir@, whatever that happens
> to be (usually it will be either /usr/afs/bin or
> $prefix/libexec/openafs).
>
> -- Jeff
>
>

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available