22 May
2021
22 May
'21
3:28 a.m.
On 05/22/2021 12:20 AM, Joseph Tam wrote:
You'll note the ratio between then is almost exactly 2. Some utilities report space usage in 512-byte block, some in K. I would hazard a guess that 'ls -s' is reporting in blocks, not K.
No, that is just a coincidence. The actual issue was duplicated messages
referencing the same inode. du
does the tally by inodes, while ls
does the tally by files, so two files referencing the same inode would
be counted twice.
- Eirik