samedi 20 décembre 2014

Change home directory with symlink


I added an SSD to my system, so now I have a boot drive on the SSD and my home directory on a different volume. I successfully changed the home directory as specified in Change Users Home Directory. However, this breaks all of the symlinks I've set up for my dotfiles, since things like .bashrc which used to point to /Users/me/.local/dotfiles/.bashrc are now broken.


My fix was to instead change /Users/me/ to be a symlink to /Volumes/Home/Users/me, and set /Users/me to be my home directory. Are there any stability problems with this approach? Will it be noticeably slower than having my home directory actually be /Volumes/Home/Users/me?





Aucun commentaire:

Enregistrer un commentaire