Hendryx wrote:
>
> Been playing with metadata in efsd, and using efsdsh to test that my code
> is setting/getting metadata right etc. One little thing that can be
> slightly missleading however is that using efsdsh to test for the
> existance of meta data gives a scary reply.
>
> If no metadata for the specified key exists for a file you get
> "failed: No such file or directory" as the output of efsdsh. To stop a
> the few people like myself from having heart attacks or there heads
> exploding. Can this efsdsh message be changed to something like
> "failed: No such metadata" etc. Thanks for listerning.
Mhmmm well right now the errors are ordinary error codes, and
descriptions are simply obtained through strerror(), so ... no :) The
"No such file" message is what you get for ENOENT, which I thought would
be okay. I'll try to come up with something better.
Regards,
-- Christian.
________________________________________________________________________
http://www.whoop.org
|