Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote:
> Package: coreutils
> Version: 5.2.1-2
> Severity: wishlist
>
> dd should either always use O_DIRECT for reading and writing, or it should
> allow one to set it as an option.  /dev/raw is deprecated, and many dd uses
> really are a prime candidate for O_DIRECT.

FYI, this feature is available in the latest upstream test release:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.gz
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.bz2

Here's the relevant part of the NEWS file:

  dd has new conversions for the conv= option:

    nocreat   do not create the output file
    excl      fail if the output file already exists
    fdatasync physically write output file data before finishing
    fsync     likewise, but also write metadata

  dd has new iflag= and oflag= options with the following flags:

    append    append mode (makes sense for output file only)
*** direct    use direct I/O for data
    dsync     use synchronized I/O for data
    sync      likewise, but also for metadata
    nonblock  use non-blocking I/O
    nofollow  do not follow symlinks
    noctty    do not assign controlling terminal from file


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to