Glynn, You are correct about this error message, still IMHO it's good
to provide most likely failure case and a hint what to do next/how to
fix it. I numerous times have stumbled on "cannot write" errors and
friendly hint to run df lots of times has saved a day ;)

Maris.

2008/9/9 Glynn Clements <[EMAIL PROTECTED]>:
>

>
> In general, error messages should only report what is known; they
> shouldn't attempt to guess as the underlying cause.
>
> E.g. if write() fails, then you know that write() failed. You don't
> know that it was due to insufficient disk space unless errno is set to
> ENOSPC. write() can also fail with EDQUOT (quota exceeded), EFBIG
> (maximum size of a single file exceeded), EIO (low-level I/O error,
> e.g. media fault, failed NFS server), and others.
>
> --
> Glynn Clements <[EMAIL PROTECTED]>
> _______________________________________________
> grass-dev mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to