On Tue, 2014-09-09 at 15:16 -0400, Rufe Glick wrote: > 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? The result is the same but the later is a script that depends on external programs while the former doesn't. And the script doesn't allow the use of the expected standard syntax, the "-hosts" option. The script hasn't been removed because people may be using it and because it's an example of functional program map. Ian -- 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