Re: effect of strip(1) on du(1)

From: Peter Jeremy <peter_at_rulingia.com>
Date: Fri, 3 Mar 2017 10:04:16 +1100
On 2017-Mar-02 22:29:46 +0300, Subbsd <subbsd_at_gmail.com> wrote:
>During some interval after strip call, du will show 512B for any file.
>If execute du(1) after strip(1) without delay, this behavior is reproduced 100%:

What filesystem are you using?  strip(1) rewrites the target file and du(1)
reports the number of blocks reported by stat(2).  It seems that you are
hitting a situation where the file metadata isn't immediately updated.

-- 
Peter Jeremy

Received on Thu Mar 02 2017 - 22:11:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC