|
|
Full Disk; Delete User
Once I got back, I ran through my data partition, deleted gigabytes of cruft, and successfully imported my photos from the boot partition to the data partition. After a backup cycle, I felt safe to delete the redundant files on the boot partition. I figured I'd just nuke the entire account. Hilarity ensues:
That's right boys and girls: you can't delete these files because you don't have enough disk space! Okay, some background. Previous versions of Mac OS X would reassign ownership of the files. I call this the "Reassign Model". The problem, however, is that they would be ressigned to Instead of actually fixing the Reassign Model code to reassign ownership to the current admin user, Apple created a wholly new model: "Disk Image Backup". Nowadays Mac OS X creates a disk image and saves off the contents of the account-in-jeporady. Then the original files are deleted, leaving behind a disk image of the old account. I think the Disk Image Backup Model is a better user experience than the previous Reassign Model. However, it fails when you're running low on disk space (you won't be allowed to delete an account because a backup disk image couldn't be allocated). The bottom line is that Mac OS X won't allow you to deallocate a resource since additional resources must be allocated to complete the operation. If I were in charge of this code, I'd keep the current Disk Image Backup Model. However, I wouldn't cop out if we couldn't allocate the disk image. Then, I'd fall back to the Reassign Model, which features no resource allocation overhead. Of course, this would still require Apple fix the Reassign Model code, which perhaps they're simply unable to do, and why they came up with the entire Disk Image Backup Model in the first place... By the way, do you think it would be rude to file a RADAR bug whose entire contents is just the URL of this entry? (grin) Tuesday, April 01, 2003
|
Contact Me Topics RSS Feed Linkblog
Bill Bumgarner Brent Simmons Daniel Jalkut Dave Dribin Eric Albert Eric Rescorla Eric Sink Greg Miller Gus Mueller Jeremy Zawodny John Gruber Mark Dalrymple Michael Tsai Peter Ammon Raymond Chen Ryan Wilcox Scott Stevenson Steven Frank The Daily WTF we hates software Wil Shipley |
Copyright © 1997-2008 Jonathan 'Wolf' Rentzsch. All rights reserved.
Questions? Comments? Contact Me.