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

Eugene Crosser crosser at rol.ru
Tue Apr 20 13:44:18 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.


On Tue, 2004-04-20 at 14:29, Lars Ellenberg wrote:

> > > 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?

Of course I had no problem modifying a script to avoid mktemp. After
all, it's me who uses the *real* operating system, right? ;-)

I just suggested to avoid a potentially unportable tool in the
'official' version.

Eugene
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20040420/edcd3ed4/attachment.pgp>


More information about the drbd-user mailing list