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

Lars Ellenberg Lars.Ellenberg at linbit.com
Tue Apr 20 12:29:57 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.


/ 2004-04-20 13:39:39 +0400
\ Eugene Crosser:
> On Sat, 2004-04-17 at 03:58, Kees Cook wrote:
> > Hi!  It's me again.  :)
> > 
> > This is a patch against 0.7 CVS for three things:
> > - add a "Kconfig" file for drbd being built in a kernel tree
> > - inside/outside kernel tree test added to Makefile
> > - script to generate a kernel patch against a kernel tree and drbd tree
> > 
> > With these, I think anyone can build drbd inside and outside of a kernel 
> > tree, monolithic or modular.
> 
> On my system (Slackware 9.1) mktemp does not have -d (create directory)
> key.  Maybe better not rely on it?

haha. get yourself a real operating system, then :)

no,
TEMPDIR=$( umask 077 && mkdir -v /tmp/drbd-patch-$$ )
or, even 
TEMPDIR=$( umask 077 && mkdir /tmp/drbd-patch-$$ && cd /tmp/drbd-patch-$$ && pwd )
should do it then?
or doesn't that work either?

	Lars Ellenberg



More information about the drbd-user mailing list