Subject: Re: LKM's and NetBSD kernels.
To: None <,,>
From: John Kohl <>
List: current-users
Date: 06/10/1996 19:36:45
>>>>> "Ken" == Ken Hornstein <> writes:

Ken> You could always check the version number when the LKM is loaded.  For
Ken> example, the AFS LKM does this -- if the NetBSD version in the kernel doesn't
Ken> match up with the one in the LKM, it prints a message and refuses to load.

It would be nicer to have several global variables, with major, minor,
and NetBSD values in them.  LKMs with discerning taste then could check
them more easily.

(This suggests that NetBSD should be updated more frequently between
releases, when substantial kernel changes are made, which would be