How to make the Users Directory a different partition in Snow Leopard?

How do I set up Snow Leopard so that my user's folder resides in a separate partition?

I want to do this so that when I format my main partition i don't have to backup and restore the user directory.


Solution 1:

Copy your home directory to the new location/partition. The go in the System Preferences -> Accounts, right-click on your user icon and select Advanced Options. There you can set the Home Directory to the new path.

Solution 2:

  1. Log into a different account from the one you want to move.
  2. Use the Finder to copy the home directory to the new location (Finder preserves all metadata)
  3. Go to System Preferences -> Accounts, right click on account, and select Advanced Options.
  4. Set the Home directory to the new location
  5. Remove or archive the original account's folder

Steps 1 and 5 are the additions that prompted my posting of a separate answer from knweiss's largely correct, but incomplete, answer. They are important in that it can be darned confusing if the change doesn't stick or your account is reverted for some reason (re-install and migration has done it to me).

This works just fine under Snow Leopard; I have been running with this configuration throughout the development of Snow Leopard. It even works with FileVault.