[GRASS5] grass and lock files

On Thu, Dec 07, 2000 at 05:11:51PM -0800, Eric G . Miller wrote:

On Thu, Dec 07, 2000 at 10:42:19AM -0700, Roger S. Miller wrote:
> Folks,
>
> I've been running on grass5 beta7 and will be upgrading soon to beta 9
> (er.. beta 10 now, I guess). I was wondering how other people have fit
> grass into their Linux file systems.
>
> For the beta7 installation I put the source distribution under
> /usr/local/src and installed the compiled binaries under /usr/grass5b7.
> I also placed the database under /usr/grass5b7. I want to change that for
> the new distribution.

Under FHS, /usr is reserved for the "distribution". User installed
binaries, libes, etc... go in /usr/local or /opt. Only major problem
with GRASS regarding /usr/local is the creation/deletion of lock files
which should be in /var/lock or /var/local/ or some such (I've created a
symlink in the past from /usr/local/grass5/lock =>
/var/local/grass5/lock in order for lock files to be created under /var
which is was mounted "rw", while /usr was mounted "ro" most of the time.
I now have /usr/local on a separate partition, so I don't worry about
that too much...

Hi developers,

what about changing the location of GRASS' lock files?
What about
/var/grass5/locks?

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, 11 Dec 2000, Markus Neteler wrote:

what about changing the location of GRASS' lock files?
What about
/var/grass5/locks?

Why not /var/lock/grass or /var/lock/grass5 ? At least RH already has a
/var/lock directory for this purpose.

MHu

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

On Mon, Dec 11, 2000 at 05:00:23PM +0100, Morten Hulden wrote:

On Mon, 11 Dec 2000, Markus Neteler wrote:

> what about changing the location of GRASS' lock files?
> What about
> /var/grass5/locks?

Why not /var/lock/grass or /var/lock/grass5 ? At least RH already has a
/var/lock directory for this purpose.

Thanks, Morten.

SuSe7 also has /var/lock. So I would agree to use
/var/lock/grass5

Markus

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Morten Hulden wrote:

On Mon, 11 Dec 2000, Markus Neteler wrote:

> what about changing the location of GRASS' lock files?
> What about
> /var/grass5/locks?

Why not /var/lock/grass or /var/lock/grass5 ? At least RH already has a
/var/lock directory for this purpose.

This will work also for all AT&T SVR4 compliant OS (HP-UX, OSF/1, etc.)

MHu

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

--
Robert Lagacé, professeur
Pavillon Comtois
Université Laval
Ste-Foy, Québec, G1K 7P4
tel : (418)-656-2131#2276
Fax : (418)-656-3723
E-mail : lagace@grr.ulaval.ca

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Using the standard autoconf options, this should be
overridable with the --localstatedir option:

  --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]

Teaching the Gmakefiles to recognize this option,
however, may take some hacking.

Robert Lagacé wrote:

Morten Hulden wrote:
>
> On Mon, 11 Dec 2000, Markus Neteler wrote:
>
> > what about changing the location of GRASS' lock files?
> > What about
> > /var/grass5/locks?
>
> Why not /var/lock/grass or /var/lock/grass5 ? At least RH already has a
> /var/lock directory for this purpose.
>

This will work also for all AT&T SVR4 compliant OS (HP-UX, OSF/1, etc.)

--
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:emitchell@altaira.com |
| tel: (301) 809 - 3534 Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR 4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122 Bowie, MD 20716 |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
              ,___
          /"\ / o=\ /"""---===/
         / \_/ \__/ ---===/
         | //\ || /""TT""/ //\ || ||""\
         | // \ || || // \ || ||__/
         | //--==\ |L--/ || //--==\ || || "=,
          \ ---===/
           \____---===/

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Markus

Markus Neteler wrote:

On Mon, Dec 11, 2000 at 05:00:23PM +0100, Morten Hulden wrote:
>
> On Mon, 11 Dec 2000, Markus Neteler wrote:
>
> > what about changing the location of GRASS' lock files?
> > What about
> > /var/grass5/locks?
>
> Why not /var/lock/grass or /var/lock/grass5 ? At least RH already
> has a /var/lock directory for this purpose.
Thanks, Morten.

SuSe7 also has /var/lock. So I would agree to use
/var/lock/grass5

As usual, nothing seems to be standard Unix. :frowning: IRIX doesn't have a
/var/lock but I have no idea what to do for IRIX.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'