On 27-Mar-00 H. Peter Anvin wrote:
> Jeremy Fitzhardinge wrote:
>> 
>> On 27-Mar-00 Brian Favela wrote:
>> > Where I guess it was the last directory name of <path> that was used for
>> > mounting on the chosen path for that map. Your version of lookup_program.c
>> > seems to require an output similar to that found in a file-type map (<key>
>> > <machine>:<path>) where <key> is used as the name of the directory
>> > mounted.
>> > When I changed my program to output the key as well as the resolved
>> > machine/path from 'ypwhich', the program worked fine.
>> >
>> > Was this the desired behaviour change for executable maps?
>> 
>> Yes.  I remember now; the change is needed so the program can output
>> multiple
>> mounts:
>> 
>> host/           host:/
>> host/usr        host:/usr
>> ...
>> 
>> The first column is the mount-point, the 2nd is the remote filesystem.
>> 
>>         J
> 
> Jeremy, this is a bug.  The correct syntax for this is:
> 
> / host:/ /usr host:/usr
> 
> This is all in the map entry, not in the key, and should be handled by
> parse_sun.  Anything else is a bug.

OK, I'll look into it.

        J

Reply via email to