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: Andy Isaacson
Subject: Re: dd PATCH: add conv=direct
Date: Wed, 7 Apr 2004 17:09:28 -0500
User-agent: Mutt/1.4.1i

On Wed, Apr 07, 2004 at 05:02:24PM -0500, Nathan Straz wrote:
> On Tue, Apr 06, 2004 at 05:03:58PM -0500, Andy Isaacson wrote:
> > Linux-kernel:  is this patch horribly wrong?
> ...
> > to force O_DIRECT.  The enclosed patch adds a "conv=direct" flag to
> > enable this usage.
> 
> Adding the functionality to conv= doesn't seem right to me.  conv= is
> for converting the data in some way.  This is just changing the way data
> is written.  Right?

There's already conv=notrunc which means "open without O_TRUNC".  I
agree that it's a nonintuitive interface, but then, the entire dd(1)
command line is.

> Have you looked at lmdd?  It supports O_DIRECT and many other things not
> in the standard dd.

Wasn't aware of that one.  Thanks for the pointer.

-andy




reply via email to

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