Re: O_DIRECT support in dd

2005-11-18 Thread Phillip Susi

The man pages at:

http://www.gnu.org/software/coreutils/manual/html_chapter/coreutils_11.html#SEC65

Do not document an iflag parameter.  Is this simply an error in the 
documentation?  It looks like I'm still using coreutils 5.2, so I guess 
I'll have to upgrade.  I'm wondering now why there was over a year 
between the release of 5.2.1 and 5.92, with nothing in between.


Paul Eggert wrote:

Phillip Susi [EMAIL PROTECTED] writes:


I searched the archives and found a thread from over a year ago
talking about adding support to dd for O_DIRECT, but it is not
documented in the man pages.


It's in coreutils 5.93 dd.  Try, e.g., dd iflag=direct.  It's
not documented with the phrase O_DIRECT, though, which is possibly
why you missed it.


does dd use aio so as to keep the IO pipelined, since a blocking
read/write would only be able to access one file/disk at a time?


Nope.  Might be nice to add, I suppose.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils





___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: O_DIRECT support in dd

2005-11-18 Thread Paul Eggert
Phillip Susi [EMAIL PROTECTED] writes:

 The man pages at:

 http://www.gnu.org/software/coreutils/manual/html_chapter/coreutils_11.html#SEC65

Those are obsolete.  Unfortunately they are not generated automatically,
as they should be.  I just did my quick best to bring them up to date,
and the changes should be propagated to the web server in a day or so.

In the meantime you can just download the latest version of coreutils
and look at the documentation bundled with it.

 I'm wondering now why there was over a
 year between the release of 5.2.1 and 5.92, with nothing in between.

More volunteers would be welcome.  :-)


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


O_DIRECT support in dd

2005-11-17 Thread Phillip Susi
I searched the archives and found a thread from over a year ago talking 
about adding support to dd for O_DIRECT, but it is not documented in the 
man pages.  Did the man pages not get updated, or did this patch not 
make it in?


If O_DIRECT is supported, but not documented, then I wonder: does dd use 
aio so as to keep the IO pipelined, since a blocking read/write would 
only be able to access one file/disk at a time?






___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils


Re: O_DIRECT support in dd

2005-11-17 Thread Paul Eggert
Phillip Susi [EMAIL PROTECTED] writes:

 I searched the archives and found a thread from over a year ago
 talking about adding support to dd for O_DIRECT, but it is not
 documented in the man pages.

It's in coreutils 5.93 dd.  Try, e.g., dd iflag=direct.  It's
not documented with the phrase O_DIRECT, though, which is possibly
why you missed it.

 does dd use aio so as to keep the IO pipelined, since a blocking
 read/write would only be able to access one file/disk at a time?

Nope.  Might be nice to add, I suppose.


___
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils