[GRASS-dev] [GRASS GIS] #560: WinGRASS not deleting temp ppm files from map display

GRASS GIS trac at osgeo.org
Sat Aug 18 11:29:44 PDT 2012


#560: WinGRASS not deleting temp ppm files from map display
----------------------------------------+-----------------------------------
 Reporter:  isaacullah                  |       Owner:  grass-dev@…              
     Type:  defect                      |      Status:  new                      
 Priority:  critical                    |   Milestone:  6.4.2                    
Component:  Display                     |     Version:  6.4.0 RCs                
 Keywords:  v.digit ppm temp, wingrass  |    Platform:  MSWindows XP             
      Cpu:  x86-32                      |  
----------------------------------------+-----------------------------------

Comment(by glynn):

 Replying to [comment:10 martinl]:

 > These files should be stored in `.tmp` directory localed in current
 GRASS mapset I would say.

 The the mapset's .tmp directory is meant for files which will be moved to
 elsewhere within the mapset directory once they have been written (e.g.
 the cell/fcell files). Files cannot be rename()d across filesystem
 (partition) boundaries, so the temporary file must be on the same
 filesystem as the intended destination. The mapset's .tmp directory can be
 assumed to be on the same filesystem as the rest of the mapset.

 Files which don't have this requirement should either use the OS'
 temporary directory, or a configurable directory. Access to the temporary
 directory may be significantly faster than to the mapset directory,
 particularly if the mapset is on a network filesystem.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/560#comment:11>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list