[Top][All Lists]

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

Re: [bug] dd: misleading "invalid argument" for a filename

From: Pádraig Brady
Subject: Re: [bug] dd: misleading "invalid argument" for a filename
Date: Sun, 06 Dec 2009 00:06:01 +0000
User-agent: Thunderbird (X11/20071008)

Maciej Pilichowski wrote:
> Hello,
>> Pádraig Brady:
>> For portability and maintainability reasons
>> we can't really be reinterpreting the errors 
> No, I didn't mean that -- I mean the first part. Instead of indicating 
> the invalid argument was filename, point out that the flag was the 
> cause. Something like this:
> dd: iflag=direct: Invalid argument
> Of course if it is possible

The error is being issued from open("name", flags);
So it's not really possible to reinterpret EINVAL
to the above output for the reasons mentioned previously.


reply via email to

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