[GRASS5] Re: [GRASS-CVS] markus: grass/src/imagery/i.ortho.photo/photo.rectify write.c,1.2,1.3

Markus Neteler neteler at itc.it
Fri Aug 23 10:14:10 EDT 2002


On Fri, Aug 23, 2002 at 03:59:18PM +0200, Markus Neteler wrote:
> On Fri, Aug 23, 2002 at 03:49:46PM +0200, Bernhard Reiter wrote:
> > To help diagnosing this it might be helpful to give the filename
> > in the error message where writing was attempted.
> > I would replace the "(disk full?)" comment by
> > ". You might want to check available disk space and write permissions."
> submitted. thanks.

It may be even nice to see *which* partition is full.
At least here it's difficult, we have a complicated mixture
of NFS linked machines with lot's of partitions. Is there
a portable method to print which partition is full?

 Markus

> > On Fri, Aug 23, 2002 at 03:41:48PM +0200, grass at intevation.de wrote:
> > > Update of /grassrepository/grass/src/imagery/i.ortho.photo/photo.rectify
> > > In directory doto:/tmp/cvs-serv27714
> > > 
> > > Modified Files:
> > > 	write.c 
> > > Log Message:
> > > made error message a bit more useful
> > 
> > > -           G_fatal_error("error while writing to temp file");
> > > +           G_fatal_error("error while writing to temp file (disk full?)");
> > 
> > > -          G_fatal_error("error while writing to raster file");
> > > +          G_fatal_error("error while writing to raster file (disk full?)");
> > >            unlink(temp_name);
> 
> 
> 
> -- 
> Markus Neteler
> 
> ITC-irst, Istituto per la Ricerca Scientifica e Tecnologica
>      Project on Predictive Models for the Environment    
> Via Sommarive, 18        -      38050 Povo (Trento), Italy
> tel +39 0461 314 -520 (fax -591)          http://mpa.itc.it
> 
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list