Re: AutoFS mystery ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Akemi Yagi wrote:
> On Wed, Jun 17, 2015 at 11:16 AM, Ashley M. Kirchner <ashley@xxxxxxxxxx>
> wrote:
>> Care to explain those two. direct versus indirect mapping?
>>
>> On Wed, Jun 17, 2015 at 12:13 PM, Akemi Yagi <amyagi@xxxxxxxxx> 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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux