Timeline for Why are there so many different ways to measure disk usage?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2018 at 17:37 | history | edited | agc | CC BY-SA 3.0 | Cosmetic tweaks. |
| Feb 20, 2018 at 16:10 | comment | added | Gilles 'SO- stop being evil' | That's because 1 ext2 block = 8 stat blocks, if the ext2 filesystem uses 4kB blocks: stat counts in 512-byte blocks for historical reasons. See unix.stackexchange.com/questions/14409/… | |
| Feb 20, 2018 at 15:26 | history | edited | Pedro | CC BY-SA 3.0 | some corrections based on helpful comments |
| Feb 20, 2018 at 15:24 | comment | added | Pedro | Thanks for the corrections, admittedly my memory re: studying ext2 in depth is now a little fuzzy. I was following the output of stat re: the block count - it did feel excessive but that's what's there. I'll correct the answer. | |
| Feb 20, 2018 at 12:46 | comment | added | Gilles 'SO- stop being evil' | A 1-byte file would typically take one block, not 8. Creating a hard link doesn't create an inode at all: one file is one inode no matter how many links there are to the file. Creating a hard link only requires space for the directory entry. | |
| Feb 20, 2018 at 11:00 | history | answered | Pedro | CC BY-SA 3.0 |