[DRBD-user] [patch] in-kernel builds

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Apr 20 20:33:32 CEST 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


> How about plain and naive
> 
> KVER=`awk '/^#define UTS_RELEASE/{print $3}' $KDIR/include/linux/version.h`

because it does not work with for example redhat kernels.
the KVER as defined in the Makefile works always, unless it
is a clean (or mrpropper) kernel tree,
which is probably why it did not work for you.

anyways, I think what is now in CVS is ok.

	lge



More information about the drbd-user mailing list