One Quickie

Unwedging stuck boots (Unix->Hacks)
If I go longer than a week or so between reboots, it (Mavericks) literally takes forever (I counted) for it to actually boot. Verbose mode shows fsck runs (and actually completes, but it hangs.) If that happens to you regularly, try this:
// Boot into single-user mode with command-S on power-on
# /sbin/fsck -fy
# /sbin/mount -uw /
# mv /var/folders /var/folders-dorked
# reboot
Nearly instant boot again.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book