[CentOS] AutoFS mystery ...

Wed Jun 17 19:46:31 UTC 2015
m.roth at 5-cent.us <m.roth at 5-cent.us>

Akemi Yagi wrote:
> On Wed, Jun 17, 2015 at 11:16 AM, Ashley M. Kirchner <ashley at pcraft.com>
> wrote:
>> Care to explain those two. direct versus indirect mapping?
>>
>> On Wed, Jun 17, 2015 at 12:13 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>
>>> Another thing you may want to consider is use of 'direct map' instead
>>> of 'indirect map'. If I remember correctly, it works well with cifs
>>> mounts, too.
>
> I'm sure you can find nice documentations that explain the two mapping
> methods. Just briefly, With 'direct map', you can mount virtually at
> any point because it uses absolute paths. In some situations (like
> mounting directly under /), 'direct map' is the only option for
> autofs.
>
> In /etc/auto.master, you add a line similar to:
>
> /-   /etc/auto.direct
>
> And in /etc/auto.direct, you may have:
>
> /mounthere -fstype=cifs,rw,blah ://machine/share
>

Is auto.net considered direct mounting, or indirect?

One thing to note, Ashley - we have that set up, but you *can't* ll
/project, it's not there until you look for it by name, say, ll
/project/joesproj, and *then* it's there.

        mark