On Wed, 2006-06-21 at 09:33 -0400, Jeff Moyer wrote:
> ==> Regarding RE: [autofs] getting parameters to executable maps; Ian Kent 
> <[EMAIL PROTECTED]> adds:
> 
> raven> On Mon, 12 Jun 2006, aptosca wrote:
> >> I have a network service that defines a filesystem namespace. I'd like
> >> to write an executable map that uses that service to return map entries
> >> to automount. Abstractly, the executable map takes the namespace path,
> >> queries the web service, and returns a map entry to automount. The map
> >> entry is either a pointer to a real filesystem or an -fstype=autofs
> >> entry that causes the executable map to be executed again when/if an
> >> entry in the directory is touched.
> 
> raven> I've thought about this and I can't think of any easy way to achieve
> raven> this.
> 
> raven> I don't like the idea of changing the internals of the way program
> raven> maps are called.
> 
> raven> One way to do this would be to write an autofs lookup module to
> raven> handle this map source rather than use a program map.
> 
> Is there any way we could achieve this via setting some environment
> variables?

I've been thinking about that but I'm not sure about it.
Mainly because the information flow is from autofs to the program and
autofs can't know what environment to set.

Are you perhaps suggesting we define one or so?

Ian

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

Reply via email to