Common auto mounts for Linux and Solaris

We are trying to create some common ground between Solaris and Linux environments. For example, auto mounting scripts of NFS file systems. One issue was that Sun uses the master map file called auto_master whereas Linux defaults to auto.master.

Thankfully, you can tweak /etc/sysconfig/autofs and use MASTER_MAP_NAME to tell Linux to also use auto_master. Problem solved!

Update: dont' forget to open /etc/nsswitch.conf and edit the line for autofs. I had to delete nisplus.

No comments: