[GRASSLIST:4561] Re: .tmp files

Glynn Clements glynn.clements at virgin.net
Mon Sep 23 20:04:20 EDT 2002


Gordon Keith wrote:

> For a while I've been having trouble with disk space and assumed that 
> since I was working with large data files, that it was just a part of 
> life.
> 
> I was looking for more ways of getting space (I already have all my 
> sites files bzip2'ed and have to bunzip2 them before use) when I came 
> across some hidden files in the grass database.
> 
> $GISBASE/$LOCATION_NAME/$MAPSET/.tmp for my various mapsets was using 
> 20GB of disk space. Since I only have an 80GB drive, this added up to a 
> significant drain.
> 
> Some of these files were quite recent. Some were months old.
> 
> I haven't seen any discussion about the need for housekeeping these 
> hidden directories, so maybe others aren't aware of them either.
> 
> Comments anyone?

The ".tmp" directory should get cleaned whenever you exit a GRASS
session.

If your ".tmp" directories are accumulating files, that suggests that
GRASS sessions are being terminated abnormally, e.g. by killing the
xterm. Always terminate the session by typing "exit" in the shell.

OTOH, if you are already doing that, there may be a problem with the
$GISBASE/etc/clean_temp program.

-- 
Glynn Clements <glynn.clements at virgin.net>



More information about the grass-user mailing list