Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Users partition for your Home directory' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Users partition for your Home directory
Authored by: blech75 on Aug 18, '03 10:27:24AM

This hint is nothing new, but is more complicated than needed. I've been locating users' home folders on a separate volume for a long time and there honestly is no need for the NetInfo step (it also potentially complicates things... see my reasoning below).

Here's what I do:

cd /
sudo ditto -rsrc /Users /Volumes/volume_name/Users
sudo mv /Users /Users.old
sudo ln -s /Volumes/volume_name/Users /Users

Log out, log back in...

Make sure OS X is using your new Users folder on the new volume. Then get rid of your old Users folder:

sudo rm -rf /Users.old

There... no need to touch NetInfo. Simpler, Easier, Faster. And it works for all users!

This could also be done from the >console, before (or in place of) a graphical login.

MY REASONING: If you modify netinfo's home dir setting, then OS X will explicity look for /Volumes/volume_name upon login, if volume_name does not exist for some reason (after a bad crash), then OS X will create a temporary, empty volume and mount the real volume as 'volume_name 1'. This is not too difficult to fix (scary, but not difficult), but with the symbolic link in place instead of the hard-coded setting to home folder a specific volume name, this won't happen. It will also make moving the users home folder to a new, differently-named volume easier in the future (because path names are stored in places you'd never think of, etc.).



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: mike3k on Aug 18, '03 11:04:00AM

You should also be able to mount /Volumes/Users with /Users as the mount point.

With traditional unix systems, I'd enter that in /etc/fstab, but I guess in OS X it would have to be entered in netinfo.



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: lolopb on Aug 18, '03 11:37:13AM

Nope, since 10.2 you can use fstab, everything is explained here (in french, sorry) :

<http://www.mosx.net/dossiers/fstabOSX.shtml>



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: gvitale on Aug 19, '03 05:37:37AM

Can someone kindly volunteer for an english translation of the above link (maybe submitting it here as an hint, giving credit to the original site, of course)?
Thanks in advance,
gaetano



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: amacaulay on Aug 19, '03 04:05:59AM

... with the added advantage that creating new users in the prefs pane would now work, I think.



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: rjohnson on Nov 04, '03 04:57:29PM

I've tried all three methods (niutil/ln/fstab) and none of them seem compatible with Classic on (Jaguar 10.2.8)
The first sign of trouble is that Classic startup reports creating new "Apple Menu Items, Preferences, etc." folders and offers to populate them from the Classic system folder.
The second sign of trouble is the venerable "Sorry a system error occur occurred" reporting a bus error with Apple Menu Items.

Everything runs fine when /Users is on the system partition, and comparing the two directory trees shows them to be identical. Does anyone have any idea what might be going on here? Especially why Classic can't seem to find the existing ~/Library/Classic... folders when ~ is on a non-root partition?

For reference:
OS: Jaguar (10.2.8)
Root, Classic and Users, and swap all on separate partitions.

Thanks,
--rich



[ Reply to This | # ]
Create a Users partition for your Home directory
Authored by: rjohnson on Nov 05, '03 08:42:40AM

I kept digging and...

Aha! It's a conflict between Classic and OS 9 settings.

OS 9 is set up with Multiple Users Accounts _off_.
Turning off Classic's "Advanced/Use preferences from home folder" eliminated the errors.

I haven't tried the converse (OS 9 Accounts ON/Classic preferences from home folder) but I wouldn't be surprised if that solved the problem as well.

The moral of the story is that Classic preferences and OS 9 settings must agree--or, redundant data can only be different.

--rich



[ Reply to This | # ]
Create a Users partition - Links cause Backup.app to fail
Authored by: skydiver on Mar 04, '04 01:45:53PM

I have been using the Symbolic linking of the Users directory on a different volume. However, I just found out that my Backup.app scheduled task has not been running. It complains that it cannot use aliased User directories.

---
Blue Skies,
Tak



[ Reply to This | # ]