fs does not work?

Love Hörnquist-Åstrand lha at stacken.kth.se
Thu Jun 25 00:25:08 CEST 1998


Naomaru Itoi <itoi at eecs.umich.edu> writes:

> 
> > If you look k_hasafs() in ${kth-krb}/lib/kafs/afssys.c you'll
> > see the syscall.
> > 
> > Make sure that its 210 that is the AFSSYSCALL. Run the
> 
> Yeah, that's what's I was looking at just now.  
> It turned out that AFS_SYSCALL is undefined.
> 
> I see this in afssysdefs.h:
> 
> #if defined(__NetBSD__)
> #define AFS_SYSCALL 210
> #endif
> 
> So I guess I should set __NetBSD__ flag somewhere?

Ah, you use kth-krb 0.9.8, that is the problem since it thinks
that you dont have afs support at all and always returns
that there is no afs if I remember right.

The tiny diffrens between 0.9.8 and 0.9.9 make a diffrens.


--- 0.9.8/src/lib/kafs/afssysdefs.h	Thu Oct 23 09:51:41 1997
+++ 0.9.9/src/lib/kafs/afssysdefs.h     Tue Jan  6 04:25:05 1998
@@ -36,7 +36,7 @@
  * SUCH DAMAGE.
  */
 
+/* $Id: afssysdefs.h,v 1.16 1997/10/23 07:51:41 assar Exp $ */
-/* $Id: afssysdefs.h,v 1.18 1998/01/06 03:25:05 assar Exp $ */
 
 /*
  * This section is for machines using single entry point AFS syscalls!
@@ -79,7 +79,7 @@
 #define AFS_SYSCALL    31
 #endif
 
-#if defined(__NetBSD__)
+#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__)
 #define AFS_SYSCALL 210
 #endif

Guess that you should use 0.9.9 (ftp://ftp.nada.kth.se/pub/krb/src/) 

Love





More information about the Arla-drinkers mailing list