[GRASSLIST:6586] Re: [GRASS5] MacOSX file name recognition bug in G6?

Lorenzo Moretti lorenzo.moretti at bologna.enea.it
Thu Apr 21 10:53:33 EDT 2005

Hi Markus

>today I worked on a colleague's MacOSX. Surprisingly I had
>the following problem:
>#Remove MASK:
>GRASS 6.1.cvs (pat_gaussboaga):~ > g.remove MASK
>  raster
>  header
>  category
>  color
>  history
>  misc
>  fcell    MISSING
>  g3dcell  MISSING
>#create file with name 'mask' (but not MASK):
>GRASS 6.1.cvs (pat_gaussboaga):~ > r.mapcalc 
>  100%
>[Raster MASK present]
>-> ouch.
>GRASS 6.1.cvs (pat_gaussboaga):~/0.875/SCRIPTS/geotop0.875 > g.copy mask,MASK
>ERROR: <MASK> already exists
>[Raster MASK present]
>Is MacOSX unable to distinguish between mask and MASK?

Yes, it's a feature of Darwin/OS X and the HD format used in OS X: 
HFS+. The same name (upper or lower) is not permitted.


||      Lorenzo Moretti        e-mail: lorenzo.moretti at bologna.enea.it     
||/|/|  ENEA prot/idr          Web: http://wwwamb.bologna.enea.it/    
||   |  via Don Fiammelli, 2   FTP: ftp://ftpamb.bologna.enea.it/ (ris.)
~~~~~~  40128 BOLOGNA - ITALY  Ph: +39-0516098086  Fax: +39-0516098131

More information about the grass-user mailing list