[OpenAFS] cache use topping out at around 3GB?

Jeffrey Hutzelman jhutz@cmu.edu
Tue, 07 Jun 2005 13:07:24 -0400


On Tuesday, June 07, 2005 12:49:59 PM -0400 Derrick J Brashear 
<shadow@dementia.org> wrote:

> On Tue, 7 Jun 2005, Wes Chow wrote:
>
>>
>>> diff without -c or -u is sort of useless
>>
>> My diff defaults to -c 3 -u 3.
>
> 25c25
> < static void afs_GetDownD(int anumber, int *aneedSpace);
>
> is neither a context nor a unified diff. so, if that's what they tell
> you, they're lying.

Not lying; just misunderstanding his documentation.
-c means to generate context diffs, which are acceptable
-u means to generate unified diffs, which are preferred
The default is to generate "normal" diffs, which are useless as patches.

Most versions of diff, including the one in question, default to using 3 
lines of context in both unified and context modes.  However, they still 
default to normal mode; you must use the appropriate switch to select a 
different mode.

-- Jeff