Currently, the default amd.map will cause amd to mount
the filesystems using NFS even if the requested host is
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
into amd(8) and amd.conf(5) would A Very Good Thing (SM).
Fix: This can probably be expressed even better, but it works
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.