For my future deployments, i’ve decided to partition my managed Macs HD’s with 33% for the OS (which i’ve kept as being called Macintosh HD) & the remaining 67% as User data (which i’ve labelled Users HD).
To do this i’ve been using fstab to mount the “Users HD” partition to /Users. Below is how i achieve this, hope it helps.
At imaging I deploy a file located here /private/etc/fstab, with the below contents..
This file has root:admin 755 permissions applied & is installed @ imaging to the target drive.
On 1st boot, when Casper creates it management account.. it creates the home folder under /Users which is now the “Users HD” partition.
So this is seemingly working, except when you connect another drive with the a partition also called “Users HD” as this will now be mounted as /Users as well as you local “Users HD” partition. Not cool.
So to get around this, we can change the contents of the stab file we deployed to mount the “Users HD” via it’s Universally Unique Identifier (READ: UUID).
If you run the below script as part of your post-imaging First Run, your “Users HD” partition should now be mounted to/Users using the volumes UUID which will then get over the issue outlined above.
Obviously you’ll need to amend to suit your environments needs, oh & test, test, test!!