Missing Space on my USB Thumb Drive
Posted in Apple, Linux on February 9th, 2009 by Jason – Be the first to commentThe other day I was asked to help a friend of a friend to format and reinstall windows onto their desktop machine. I normally dont like doing it unless it is my computer since I dont know what files they want to keep and which ones they dont. So my rule of thumb is to always have them move any and all files they want to keep onto their desktop, that way if they loose a file during the format, then its not my fault.
While copying over some files onto my usb thumb drive, I noticed that it was getting close to its capacity (2gb) eventhough I really had just a bit more than 300 mb stored on the drive. Somewhere along the line I was loosing 1.5 gb of data storage with no rhyme or reason. I thought that it might be a mac/pc thing, since I primarily use my usb drive with my Macbook. So I plugged in the drive to my mac, lo and behold, I was still missing the 1.5 gb of space.
To make the blog post not any longer than it needs to be, I beleive the difference comes with how files are marked for deletion on a Mac. A while ago I noticed that after deleting several gigabytes of data from my MacBook, the space was not free’d up until I emptied my trash can. That makes enough sense. While “deleteing” a file really just marks it for deletion in the trash can, it still leaves the file their until it is actually deleted from the trash can. What I did not realize is that on my mac, it does the same thing with my thumb drive. Any time I delete a file from it, it only “marks” it for deletion but leaves the file on the drive.
The solution is simple, plug in your usb drive, open your trash can and empty the trash. My usb has an led light for activity so I could see that it was being accessed to delete files, and after it finished… presto, my full 2gb was available.
I am pretty sure this process is done differently on Windows computers, but I am not sure how. I believe that when you delete a file in Windows, the file itself is physically moved to a deletion area, where as on the mac it is only marked for deletion and is no longer visible. But I am not expert on this so if something is not right, please correct me.