[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 12:20:44 +0100 |
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.
> Personally I use dd to move large files like disc images etc.
> around, and I know I will not need the file cached.
>
> A very quick example patch which has only
> been tested on linux is attached.
>
> Do you think this is required?
> Do you think this is the right interface?
There are two separate sets of data to which we
might want to apply such an optimization: input and output.
So how about an interface that lets the user disable caching on
either or both? E.g., no-i-cache no-o-cache.
I find the "-"-less options far less readable.
Actually, I prefer the even longer names:
input-cache-disable
output-cache-disable
nocache could still be an alias for the combination.
- 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 <=