[1334] in NetBSD-Development
Re: AFS for 1.2_ALPHA?
daemon@ATHENA.MIT.EDU (John Hawkinson)
Mon Jun 17 09:17:20 1996
Date: Mon, 17 Jun 96 09:16:50 -0400
To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Cc: netbsd-afs@MIT.EDU
From: John Hawkinson <jhawk@MIT.EDU>
> Is there a version of AFS for NetBSD/i386 that runs on 1.2_ALPHA? The LKM
> fails the version check :-(
Yup :-)
Try /afs/sipb.mit.edu/project/netbsd/afs/libafs1_2_ALPHA.o.1.33
> (I did try editing the library and changing the version string, like I did
> for 1.1B, but no go ... I think I clobbered too much of another string).
I _told_ you that habit (like you did w/ xdm) was going to get you in
trouble. When _I_ had this problem I resorted to patching the code to
punt the check, and you should have, too :-) [hence the origins of the
above file, for those of us too lazy to figure out how to build the
tree...]. (BTW, this is particularly reprehensible in *you* since you
have source).
Never fear, though, unless truly radical and gratuitous changes
happen, it won't be necessary next time (see below).
--jhawk
rcsdiff -kk -c -r1.36 -r1.37 afs_nbsd_subr.c
===================================================================
RCS file: RCS/afs_nbsd_subr.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -c -r1.36 -r1.37
*** 1.36 1996/03/26 08:49:25
--- 1.37 1996/06/01 02:41:08
***************
*** 78,89 ****
static int lkmid = -1;
static int afs_badcall(struct proc *p, void *xx, register_t *yy);
! #if NetBSD1_1 == 1
! char afs_NetBSD_release[] = "1.1";
#elif NetBSD1_1 == 2
! char afs_NetBSD_release[] = "1.1A";
#elif NetBSD1_1 == 3
! char afs_NetBSD_release[] = "1.1B";
#endif
char afs_NetBSD_osname[] = "NetBSD";
--- 78,93 ----
static int lkmid = -1;
static int afs_badcall(struct proc *p, void *xx, register_t *yy);
! #if NetBSD1_2 == 1
! char afs_NetBSD_release[] = "1.2\0Patch foder";
! #elif NetBSD1_2 == 2
! char afs_NetBSD_release[] = "1.2A\0Patch fodder";
! #elif NetBSD1_1 == 1
! char afs_NetBSD_release[] = "1.1\0Patch fodder";
#elif NetBSD1_1 == 2
! char afs_NetBSD_release[] = "1.1A\0Patch fodder";
#elif NetBSD1_1 == 3
! char afs_NetBSD_release[] = "1.1B\0Patch fodder";
#endif
char afs_NetBSD_osname[] = "NetBSD";