Currently, the default amd.map will cause amd to mount the filesystems using NFS even if the requested host is the same. The change below will make it use symboliic link to the / when the machine is local. One can still use /net/localhost if NFS mount is essential... Putting a reference to http://www.cs.columbia.edu/~ezk/am-utils/ into amd(8) and amd.conf(5) would A Very Good Thing (SM). Fix: This can probably be expressed even better, but it works for me...
Responsible Changed From-To: freebsd-bugs->obrien its mine
Just for the record - the new autofs(5) doesn't handle localhost in any special way. While most implementations indeed have a special case for this, using nullfs, and it would be possible to do the same in ours, I'm not sure it's worth it anymore with current hardware.
amd(8) is retired in r358821.