Friday, July 25, 2025

du strange output on single file

Hello,

Here I found a strange behavior of du:

wiz$ ls -lsa index.php
16 -rw-r--r-- 1 user www 7412 Oct 19 2024 index.php
wiz$ du index.php
16 index.php <-- this is weird
wiz$ du -h index.php
8.0K index.php

7.7 stable


Dan

------
Blog: https://bsd.gaoxio.com - Repo: https://code.5mode.com

Please reply to the mailing-list, leveraging technical stuff.

No comments:

Post a Comment