Newsgroups: comp.parallel.pvm
From: jmartin@bailer.cs.uiowa.edu (Jeffrey Martin)
Subject: Re: /tmp and PVM
Organization: The University of Iowa, Iowa City, Iowa, USA
Date: 25 Jun 1996 14:23:38 -0500
Message-ID: <k6g688f3cxx.fsf@bailer.cs.uiowa.edu>

Jonathan King <jking@cv.hp.com> wrote:
> ployaert thierry wrote:
> > Is there some mean for changing host directory of pvmd.*** and
> > pvml.*** files, placed by default in /tmp ? Because my /tmp
> > directory is erased daily ...
>
> If you do a search for "/tmp" in the source files, there are only a
> dozen or so that need to be replaced (mostly #defines, if I recall
> correctly), which will allow you to recompile and use a different
> directory.

Soft links? "ln -s ~/logs /tmp/pvmd.${uid}" [or some sort] so that you
make a link from /tmp to whereever you want to store the logs? While
/tmp may be wiped out daily, since it is already an open file, the
loss of the link shouldn't affect the workings. Then maybe a crontab
to remake the link daily just after the wipe?

> Realize, though, that you have to perform the change every time
> there's an upgrade (which is why I haven't upgraded to 3.3.11 yet!).
> I have sent a "feature request" to Robert Manchek about this, having
> the directory configurable may work its way into a future version.
> Of course, other voices may help expedite this...

While a new option (source or makefile) would be helpful, soft links
will still work, even over version upgrades.

Jeff

