Tagged articles
1 articles
Page 1 of 1
Open Source Linux
Open Source Linux
Jun 15, 2020 · Fundamentals

Why Deleting a File on Linux Doesn’t Always Free Disk Space

This article explains how Linux file deletion works, why space may not be released when a file is removed, and shows practical commands and a C example to illustrate inode reference counting, using tools like df, dd, lsof, and proper file‑descriptor handling.

c-programdddisk space
0 likes · 7 min read
Why Deleting a File on Linux Doesn’t Always Free Disk Space