I'm trying to set up autofs for nfs home dirs. The scheme is /home/<u>/<username>. The only way I can figure out how to do this is with a file for every letter of the alphabet.
Code:
#auto.master
/home/a /etc/auto.home-a
/home/b /etc/auto.home-b
/home/c /etc/auto.home-c
Code:
#auto.home-a
* -fstype=nfs4 server:/a/&
Surely there is a way to do this with only auto.master and auto.home (2 files). However, the wildcard doesn't seem to match anything more than a single directory.
What am I missing?