Skip to contentSkip to conversation

direct vs indirect maps??

DISCUSSION Jim Kusznir 4 participants 4 messages Oct 4, 2005 – Oct 6, 2005 Kernel automounter

lore
Share & tools
lore
#0 lore raw

Hello again:

I've found references to "direct" and "indirect" maps throughout the various autofs documentation. However, I have not yet found an understandable definition of what the difference is. Could someone enlighten me?

Thanks!
--Jim

#1 lore raw
Quoted 4 lines · Jim Kusznir

I've found references to "direct" and "indirect" maps throughout the various autofs documentation. However, I have not yet found an understandable definition of what the difference is. Could someone enlighten me?

Direct maps are relative to /, indirect maps are relative to some other path.

(At least that's my understanding of it.)

/* Steinar */

Signature · 1 line
Homepage: http://www.sesse.net/
#2 lore raw
Quoted 10 lines · Steinar H. Gunderson
Quoted 4 lines · Jim Kusznir

I've found references to "direct" and "indirect" maps throughout the various autofs documentation. However, I have not yet found an understandable definition of what the difference is. Could someone enlighten me?

Direct maps are relative to /, indirect maps are relative to some other path.

(At least that's my understanding of it.)

A practical way to think about it is that direct maps are things that you may otherwise put into /etc/fstab except that you may want them centrally controlled.

It's the way to fake a common federated namespace - like AFS - which lets you create the same mountpoints on all systems even if the fstab format is different and even if the server changes once in a while.

Except it doesn't actually work on linux yet, but the team here seems to be really trying to get this one done.

-Peter

Signature · 3 lines
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.
maintainer
#3 lore raw
In reply to Jim Kusznir
Quoted 6 lines · Jim Kusznir

Hello again:

I've found references to "direct" and "indirect" maps throughout the various autofs documentation. However, I have not yet found an understandable definition of what the difference is. Could someone enlighten me?

I'm not sure how much this will help but Jeff Moyer and myself wrote a few words about autofs for his presentation at Linux Kongress.

My writing skills are not that good but perhaps it will help.

In particular reference [5] has more information but it's hard to find on the Sun doco site.

http://themaw.net/autofs_linux_kongress.pdf

Ian