The /etc/rc.d/init.d/autofs script should be enhanced.
At office, user home directories are dispatched on many
Solaris servers. Precise physical location is described in
a NIS map on a Solaris NIS server. However, Solaris
workstations keep a local auto_master master map.
The current state of function getmounts() does not permit
to mix a local auto.master master map with a NIS auto_home
map. We had to hack the script to auto-mount user
I would like to contribute and modifiy this script, so that
local and NIS maps can be mixed, like on Solaris platform.
However, I don't know who is responsible for this script.
The man page says:
This manual page was written by Christoph Lameter
<firstname.lastname@example.org>, for the Debian GNU/Linux system.
Edited by H. Peter Anvin <email@example.com>. Edited
by Michael K. Johnson <firstname.lastname@example.org> to match
Red Hat Linux.
So I guess the script has been enhanced by Red Hat. If not,
please tell me and I will contact the original maintainer.
I would appreciate any enhancements to the script that you have.
Please send them directly to me, and I will make sure they get
We are currently integrating patches into our development version
which provide precisely what you are asking for: supporting random
mixes of local maps and yp maps.