[ apologies if this is a repeat, but I didn't notice getting my copy before ]
Is there a simple way to get autofs to behave like tfs to get:
IF /localdir/$key/ exists
THEN use /localdir/$key/
ELSE use server:/remotedir/$key/
I was hoping to use something like the multi-home mechanism which tried each
path in order until one worked.
I can set it up by hand using
d1 :/localdir/&
d2 :/localdir/&
* -rw server:/remotedir/&
but that needs editing on each host as each /localdir/ is created.
I assume I can HACK it using a programme hook which looks to see if
/localdir/& exists, but it would be much cleaner to use the multi-home style
list. Is this possible?
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs