Sometimes I wonder about Apple. I wonder whether they really bother to think things through anymore, or whether it’s just Steve Jobs shooting from the hip. I know the man is a genius, but he’s only one guy, and nobody can think of everything.
Anyway, why am I here bitching this fine evening at 12:07 in-the-fucking-AM?
Well, imagine the following hypothetical situation:
You have a 2 gigabyte file sitting in the Trash.
You mouse up to the Finder menu, intending to choose “Empty Trash” but instead, you accidentally choose “Secure Empty Trash.”
For those who aren’t familiar with this, “Empty Trash” would take a fraction of a second to delete one file. “Secure Empty Trash”, on the other hand, goes around the disk and physically overwrites the living shit out of every fragment of the file, thus preventing everyone (with the possible exception of the NSA) from ever recovering it. This takes time. Worse, when there’s a lot of data to erase, it takes a lot of fucking time.
This thing you see in movies sometimes, where the cops are banging down the door and the rebel-hero hits “wipe” to instantly and securely erase the entire subversive contents of his hard drive….that is utter horseshit, especially in the past few years when drives have gotten up into the terabyte range. I have no fucking clue how long it would take to securely wipe a one terabyte drive, but if I were going to do something like that, I would plan ahead on not using it for maybe a week. I honestly don’t even know. In fact, I probably would not do it all at once, due to the risk of possible power failure during the operation. Note that I do have a UPS installed on my system. I’m talking about power failure long enough that it runs out the battery on the UPS during the delete. This isn’t the sort of outage that happens very often, but deleting that much data would take long enough that, I suspect, it would become a legitimate concern.
Anyway, that is why I am here bitching my fool head off in the middle of the night. I had about 75 files in the trash, and clicked “Secure Empty Trash” by mistake. A few of the files happened to be up in the 1 gigabyte range, and, lucky me (that’s sarcasm, by the way), by the time I hit the cancel button, the Finder was in the process of wiping one of those files. Yes, you can cancel the secure erase function midway through, but if a file is already partially erased, the operation won’t be canceled until that file is completely done. In fact, I suspect it may erase the files in batches, and won’t stop until an entire batch is done. And, for some reason, canceling always seems to take a lot longer than simply deleting the file would in the first place. Maybe, in the future, I will just let it go ahead and wipe the stupid files.
In any case, it is finally done now. I knew that the time I spent bitching about this problem here on WordPress would be an effective way to kill the time. So now it’s done and I can go back to debugging the OTHER GODDAMN FINDER BUG I WAS STRUGGLING WITH BEFORE THIS HAPPENED.
(Note to Apple: How about a warning dialog if someone chooses “Secure Empty Trash” when there’s more than, say, 500 megabytes of data to be deleted? Or a large number of small files? That would be REALLY NICE.)
The other problem, by the way, is a fucking sparsebundle image icon which won’t display itself properly in the sidebar. And if I drag it there manually, then when I eject it, the image itself won’t be unmounted, it will just be hidden. I won’t be able to tell that it’s still mounted, unless I happen to look in a place where the icon still shows up. This is in Leopard. 10.5.8. All other disk images, including other sparsebundles, work fine, for the most part. I get so frustrated with this sometimes, I am tempted to upgrade to Snow Leopard, even if it means putting up with Apple’s math-defying idea of what a gigabyte is. ;)