Ubuntu – Why does deleting a file on a USB stick not free up space


I have an HP pen-drive that has 16GB space. If I add a file to it, and then I delete that file, the free space of that deleted file doesn't get applied. The only way I've found to see that space as available again is by deleting the partition and doing it all over again!

Why is this? Any clue?

I've used KDE Partition Manager to create the NTFS partition.

Best Answer

I have found that nautilus changed behaviour sometime in the last year from actually deleting files on removable media to putting them into a hidden directory named .Trash or similar in the top-level directory of the media.

This is great for "oops"es, but did catch me unawares the first time I "deleted" 2GB of a 4GB thumb and still had no extra space.

I didn't explore if Empty Trash was available or worked, I just rm -rf the offending directory.

Related Question