Bug 17993

Summary: improving on the default /etc/amd.map
Product: Base System Reporter: Mikhail Teterin <mi>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: delphij, peter, trasz
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Mikhail Teterin 2000-04-13 22:20:00 UTC
	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...
Comment 1 David E. O'Brien freebsd_committer freebsd_triage 2001-09-02 18:04:28 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

its mine
Comment 2 Edward Tomasz Napierala freebsd_committer freebsd_triage 2015-08-23 12:25:31 UTC
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.
Comment 3 Xin LI freebsd_committer freebsd_triage 2022-12-04 22:15:42 UTC
amd(8) is retired in r358821.