On Tue, Nov 17, 2015 at 4:22 AM, Pádraig Brady <[email protected]> wrote:
> On 15/11/15 08:41, Michaël Cadilhac wrote:

>> $ mkdir -p a/b
>> $ du -s a a/b
>> 0       a
>> $
>>
>> It is either a bug of du or of its man.
>
> Yes it's not ideal.

Thanks for the pointer.  Is it conceivable to separate the behaviors
of --summarize and of --max-depth=0?  After all, I'm expecting some
things to be stripped out with --max-depth=0, but certainly not with
--summarize (based on the man). This would require to store the size
of every dev,ino pair, though.

M.



Reply via email to