On Tue, 10 Apr 2007, Darren J Moffat wrote:

The "easy" way to do this might be to change the files repository case to not have an auto_home managed, after all if you are using files for the automount map in nsswitch.conf chances are the mounts are local rather than NFS anyway. That would actually allow 'mkdir /home/user' to work.

So remove this line from /etc/auto_master:

/home           auto_home       -nobrowse

I usually add:

* localhost:/export/home/&

so that it will mount them from where I want them.

I have /export/home as the mount point to a zfs filesystem (tank/home in my case, but tank is the pool).

One of the things I've considered is that when we have ZFS install as default (at least for Solaris Express Developer Edition) would be that /home/ is a ZFS filesystem and so is /home/user and automounter in that case is not managing /home either because ZFS is. This saves us an lofs mount for each home dir.

So, you're saying it's better to have the home directory setting in passwd point directly to /export/home/user in my case, than it is to point to /home/user and using the above directive in auto_home?

BTW, I got that line from you previously, and it's worked fine!;-)

--

Alan DuBoff - Solaris x86 IHV/OEM Group
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to