[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dd conv=nocache
From: |
Jim Meyering |
Subject: |
Re: dd conv=nocache |
Date: |
Wed, 07 Mar 2007 13:45:50 +0100 |
Pádraig Brady <address@hidden> wrote:
> Jim Meyering wrote:
>> Pádraig Brady <address@hidden> wrote:
>>> I was thinking it would be useful to
>>> add an option to dd to tell it to
>>> instruct the OS not to cache the data.
>>
>> I like the idea, even if it works only with very recent Linux
>> kernels.
>
> It's not that new. It's in since 2.5.60 according
> to the man page, and I verified the code is in 2.6.0
> Also it uses a posix interface, so I presume this is
> available elsewhere.
Note that I said "works", not exists :-)
Does it work consistently even for initial versions?
...
> I considered this, but thought you wouldn't need this granularity.
> But thinking more about it I think you're right.
>
> If we want to control input and output separately
> perhaps we should use flags. So we have:
> iflag=nocache and oflag=nocache
Of course! Using that mechanism is the way to go.
- dd conv=nocache, Pádraig Brady, 2007/03/06
- dd interface to posix_fadvise, Paul Eggert, 2007/03/06
- Re: dd interface to posix_fadvise, Pádraig Brady, 2007/03/07
- Re: dd interface to posix_fadvise, Paul Eggert, 2007/03/07
- Re: dd interface to posix_fadvise, Pádraig Brady, 2007/03/08
- Re: dd interface to posix_fadvise, Paul Eggert, 2007/03/08
- Re: dd interface to posix_fadvise, Pádraig Brady, 2007/03/09
- Re: dd interface to posix_fadvise, Paul Eggert, 2007/03/15
Re: dd conv=nocache, Jim Meyering, 2007/03/07