I am looking for a way to recursively automount another machines directories. Automounting is setup and working for a single directory layer, for example I have a /hosts/spike directory on my local machine that automounts the root directory of the machine spike, ie 'spike:/' when I cd into that directory.
I would like automount to also work for other drives mounted on the spike machine. For example, the spike machine has another drive that is mount at '/disk1'. When I cd into my local machines '/hosts/spike/disk1' directory I would like 'spike:/disk1' to be automounted at this point. Currently '/hosts/spike/disk1' looks like an empty directory.
My current configuration files:
/misc /etc/auto.misc --timeout 60
I have tried adding the line '/hosts/spike /etc/auto.spike' to the auto.master file, and creating an auto.spike file that contains the entry 'disk1 spike:/disk1', but that didn't work.