On Fri, Feb 11, 2005 at 10:11:02AM +0800, Ian Kent wrote: > On Thu, 10 Feb 2005, Jeff Moyer wrote: > > > ==> Regarding [autofs] autofs - nfs with localhost; Rasmus Hahn <[EMAIL > > PROTECTED]> adds: > > > > rassahah> Hello Mr & Mrs Autofs-Reader, im using autofs-4.1.3 and want to > > rassahah> use an map-entry like > > > > rassahah> -port=12215,mountport=12215,nfsvers=3,soft,tcp,ro localhost:/. > > > > rassahah> For some reason the automounter believes in beeing smarter than > > rassahah> me, and instead of mounting using the nfs daemon it could find on > > rassahah> port 12215 it uses a `mount --bind' to mount the root filesystem > > rassahah> without nfs. How can i disable this to force automount to use > > rassahah> NFS? The manpages didnt reveal anything about this, is it an > > rassahah> experimental feature? > > > > rassahah> (background: actually i dont want to remount my / somewhere else, > > rassahah> but using an ssh-tunnel on port 12215 with an nfsd on the other > > rassahah> end). > > > > Sorry, there is no option to configure that. So is this a feature request? > > ;) > > > > I've looked at that part of the code a couple of times recently as Chris > is interested in tidying it up. > > It certainly looks like it needs work. What was I thinking, doh. > > Anyway, it also looks like that if the nosymlink option is specified it > will work as requested here. >
Yes, the nosymlink option does it, thanks Ian. And moreover: The `nosymlink' option is hereby approved to find its way into the manpage (if theres time for that ;-) Greetings - Rasmus _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
