bug-coreutils
[Top][All Lists]
Advanced

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

Re: dd PATCH: add conv=direct


From: Paul Eggert
Subject: Re: dd PATCH: add conv=direct
Date: Mon, 19 Apr 2004 13:20:05 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

James Antill <address@hidden> writes:

>>   dd has new iflags= and oflags= options with the following flags:
>>
>>     nonblock  use non-blocking I/O
>
> What is this supposed to do when it gets EWOULDBLOCK? There seems to
> be no change in the read/write code. So I can only assume it fails
> with an error code

Yes, that's what it does.

> which seems like the worst behaviour possible.

Its only current use that I can see is to have "dd" refuse to block.
I can think of uses for that but admittedly they're not something that
I would do often.

What would be better behavior?  That is, what uses should "dd" make of
that flag?




reply via email to

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