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.
I've thought about this and I can't think of any easy way to achieve this. I don't like the idea of changing the internals of the way program maps are called. One way to do this would be to write an autofs lookup module to handle this map source rather than use a program map. Ian _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
