On Fri, 2006-11-10 at 17:33 +0000, Gordon Lack wrote: > 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?
You got me there. I'm not sure about mounting on files at this stage. I think there's probably a bit more to change than just the create directory function. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
