On Mon, 2008-06-23 at 17:12 +0800, Ian Kent wrote: > 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.&
Oops, that's not right. It would return the location corresponding to the passed in key. Ignore my comment about a program map, it's not right, I'll need to re-think that. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
