I've been looking for a way to get a parameter to an executable being used as a map and have so far failed to come up with anything that will work. Has this issue ever arisen? As far as I can tell, the exec of the program gets nothing except the key being looked up. The program I'd like to have exec'd needs just a little bit of context. It could be passed in through arguments specified in the calling map, but autofs doesn't, for example, break the string up at spaces for the exec call. Alternatively, if there were a way to get at the args that were passed in the options string, that would work, too, but again, I don't see anyway of making that happen.
Ideas? Comments? _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
