I have a NFS server exporting home directories for remote users and the workstations have local and remote users. I want to configure autofs to mount a remote user home directory as a subdirectory of /home directory.
I configured the autofs to mount the nfs shares, however when a remote share was mount the local home directories gone away.
Is there a way of mounting only the directories that does not exists in the /home directory? Is there a way that is not configured by setting by hand all the local folders, automatically discovering each existent directory and skipping the mount of it?
Thanks