effect of strip(1) on du(1)
Peter Jeremy
peter at rulingia.com
Thu Mar 2 23:11:42 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20170303/8594b9bb/attachment.sig>
More information about the freebsd-hackers
mailing list