[GRASSLIST:4900] Setting database

Hi,

I'm in the process of setting up my PC with Grass and other software to mirror my Mac laptop. Is it possible to either set the Database outside of the Cygwin install on C: (for instance D:/Lawrence/Grass)?

Alternatively, can I simply move the Cygwin folder with all its contents to the D: drive? The reason for this is that space on C: is limited so I don't have sufficient space for all my data.

Are there any other alternatives?

Thanks,

Lawrence

lawrence moran wrote:

I'm in the process of setting up my PC with Grass and other software
to mirror my Mac laptop. Is it possible to either set the Database
outside of the Cygwin install on C: (for instance D:/Lawrence/Grass)?

You should be able to use e.g. /cygdrive/d/Lawrence/Grass. However,
you need to ensure that Cygwin is configured to access the drive in
binary mode (rather than text mode).

Adding "binmode" to the CYGWIN environment variable is one option.
Explicitly mounting the drive (e.g. as /mnt/d) with the "binary"
option is another.

Alternatively, can I simply move the Cygwin folder with all its
contents to the D: drive? The reason for this is that space on C: is
limited so I don't have sufficient space for all my data.

I think that you need to change some registry entries if you move the
root of the Cygwin tree. Try searching for "cygwin" or "cygnus" with
regedit.

--
Glynn Clements <glynn@gclements.plus.com>