Skip to contentSkip to conversation

Is the "program" format correct ?

DISCUSSION Andreas Neuper 2 participants 2 messages Aug 14, 2004 – Aug 15, 2004 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Thank you Takashi,

this confirms my oppinion: The format for program maps differs! Usual and documented format is:
key [-options] location

These maps swallow the key and accept only nfs location codes where the hostname seems to be overwritten with the key. !?!

It seems strange to me. just try to use it for the floppy. I get errors on hostname resolution! (even when omitting the key)

Is there a working release?
Andreas
____________________________________________________
Aufnehmen, abschicken, nah sein - So einfach ist WEB.DE Video-Mail: http://freemail.web.de/?mc=021200

#1 lore raw
Quoted 5 lines · Andreas Neuper

Thank you Takashi,

this confirms my oppinion: The format for program maps differs! Usual and documented format is:
key [-options] location

Not really.

Quoted 3 lines

These maps swallow the key and accept only nfs location codes where the hostname seems to be overwritten with the key. !?!

It receives the key as a parameter.

Lookups always "lookup a key". The program map returns the map entry for the given key only. All the lookup modules work this way.

The confusion here is because you are seeing what the lookup module needs to complete its operation not what you expect a map to look like. It already knows what key it's looking for and doesn't want or need the key to be returned.

Quoted 3 lines

It seems strange to me. just try to use it for the floppy. I get errors on hostname resolution! (even when omitting the key)

In what way are you using it with your floppy?

Quoted 2 lines

Is there a working release?

Program maps are something that are used by people like yourself. The auto.net is an example only.

Ian