Disk path for mac external drives
It is necessary to grant full disk access to terminal.app before doing so to avoid "Operation not permitted" errors. Sudo cp -pR /Users/yourUser /Volumes/new/path If the new location is on a separate volume and you want to copy the existing user data it will be necessary to use cp to copy the existing home folder rather than mv to move it. Sudo mv /Users/yourUser /new/path/yourUser You can also use dscl to move current users user folder by specifying the NFSHomeDirectory entry.Īs explained in this Apple support doc Hide a user account in macOS you could use this command to move the home directory of "yourUser" : With that I'm able to fully boot (albeit slowly) and log in but Finder and Spotlight repeatedly crash, signaling to me that the system is unable to find/create a user folder for the current logged in user.Īnyone know of any other tricks for redirecting MacOS to look for the Users folder on a different volume? Users (tab character) /Volumes/External_Drive_Name/Users I'm using the following syntax and placing nf in /etc/nf: I AM able to build a nf file that creates a link for foo in the root directory that points to another volume, but attempting to redirect Users in the same manner breaks nearly all functionality. I've read up on firm links by way of creating a nf file via man nf, but this method isn't working for the Users folder.
DISK PATH FOR MAC EXTERNAL DRIVES UPGRADE
During the upgrade the symbolic link was simply removed and replaced with the standard Users folder. Symbolic links are no longer supported (for the root directory folders) in Catalina / 10.15, so this no longer works using the tried and true method. Hosting the Users folder on the internal drive is simply not a good option for us. The Mac in question is a server for two computer labs, hosting 60 Macs with a few terabytes of data spread out across 200~ user accounts. In the past when we wanted to offload the /Users folder from the internal disk we simply created a symbolic link for /Users that pointed to /Volumes/External_Drive_Name/Users.