[OpenAFS-devel] Solaris afs.rc file damage

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Mon, 09 Apr 2007 11:23:38 -0400


In message <Pine.GSO.4.61-042.0704091054180.1487@johnstown.andrew.cmu.edu>,Derr
ick J Brashear writes:
>Me either but we took what we were offered, I think.
>
>The problem with probing for a free number is, well, if everyone does it I 
>end up with a set of machines each of which may have a different AFS 
>syscall number. Ew.

sigh.  and everyone knows that if i syscall(XYZ) its afs.  but on solaris:

#ifdef SUNOSX
#define SYSCALL N1
#elif SUNOSY
#define SYSCALL N2
#elif SUNOSZ
#define SYSCALL N3
...
#endif

how pretty.  should the user care what the syscall number is?
afs utilities could handle probing automatically.  i know external
programs will have a problem but afs can always first try to put the
syscall in an expected slot.