On Sun, 16 Nov 2003, H. Peter Anvin wrote: > Ian Kent wrote: > > > > But how do you know what the keys are? > > > > In order to make mount points visible you need to know what they are. The > > definition of a program map is that it produces map entries as output > > given an input key. > > > > You need a new operation on a map -- enumerate. Most, but not all map > types support it. > > In the case of a program map I would suggest implementing enumeration by > passing no argument and expecting the enumerated list back. >
That sounds good a good idea for inclusion in 4.1.1 (I have quite a list already). Move the decision on what the map contains to the program map implementer. That would be fairly straight forward to implement given that I have a placeholder function in each map module. Ian _______________________________________________ autofs mailing list [EMAIL PROTECTED] http://linux.kernel.org/mailman/listinfo/autofs
