On Mon, 2008-06-23 at 17:03 +0800, Ian Kent wrote:
> > 
> > /servers/aia21 file:/var/run/pwfautomount/auto.aia21
> 
> Here we might use:
> /servers      file:/<any dir you want>/auto.user
> 
> For the map entries below this might be something like:
> * -fstype=autofs file:/var/run/pwfautomount/auto.&
> 

Clearly this could well be "program:/var/run/pwfautomount/auto.&" and
contain the logic to generate the mount location. But it would be called
to lookup the mount location whenever a request to mount a given <key>
comes in (eg. /devsers/<user>/<key>) which may introduce unacceptable
overhead.

If this was used then the program map would return:

-fstype=autofs file:/var/run/pwfautomount/auto.&

without the key itself.

Ian


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

Reply via email to