Difference between '/net -hosts' and '/net /etc/auto.net' auto.master entries?

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

 



Hello,

In my /etc/auto.master file I add the following two entries:
    /net   -hosts
    /net2  /etc/auto.net

After starting the autofs service I can now access the same remote NFS
share under either of these paths:
    ls  /net/192.168.0.50/
    ls  /net2/192.168.0.50/

Is there any difference between those two ways of achieving the same
result? Is -hosts option just a shortcut for the auto.net script?

Linux distribution: CentOS v7.0.1406
Autofs package version: autofs-5.0.7-40.el7.x86_64


Thank you,
Rufe
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux