[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No such file or directory

From: Roman Rakus
Subject: Re: No such file or directory
Date: Wed, 02 Jan 2013 15:47:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 01/02/2013 03:31 PM, Eric Blake wrote:
On 01/02/2013 07:28 AM, Michael Williamson wrote:
Hi Aharon,

Thanks for your explanation. Now I have another question.
Why is the error message for ENOENT simply
"No such file or directory", when the man page for execve
has this complete description:
"The file filename or a script or ELF interpreter does not exist,
  or a shared library needed for file  or  interpreter  cannot  be

Because that's what strerror() in your libc reports.  It's not bash's
fault if libc produces a shorter message (correct in the common case)
than what the man pages says is possible in the more comprehensive case.

I think the best would be if kernel provides more informations.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]