The automount code (at least for indirect mounts) will not mount an 
entry which is a file - it has to be a directory.

    The reason behind this is that the code first creates the directory 
then tries to mount the remote object on it.

    In order to mount a remote file you need to mount it over a file, 
not a directory.  (As far as I can tell, mounting a file on a file works 
OK in Linux).

    Would it be possible to get automount to retry on a file if it gets 
ENOTDIR from the remote end?

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to