From mwm@mired.org  Wed Mar  7 23:21:59 2007
Return-Path: <mwm@mired.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id EAB8216A403
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  7 Mar 2007 23:21:59 +0000 (UTC)
	(envelope-from mwm@mired.org)
Received: from mired.org (vpn.mired.org [66.92.153.74])
	by mx1.freebsd.org (Postfix) with SMTP id 8158113C48D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  7 Mar 2007 23:21:59 +0000 (UTC)
	(envelope-from mwm@mired.org)
Received: (qmail 14032 invoked by uid 1001); 7 Mar 2007 22:56:57 -0000
Message-Id: <20070307225657.14031.qmail@mired.org>
Date: 7 Mar 2007 22:56:57 -0000
From: Mike Meyer <mwm@mired.org>
Reply-To: Mike Meyer <mwm@mired.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: mount_nfs doc fails to mention a failure condition
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110062
>Category:       docs
>Synopsis:       [patch] mount_nfs(8) fails to mention a failure condition
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 07 23:30:01 GMT 2007
>Closed-Date:    Sat Dec 21 18:44:48 UTC 2013
>Last-Modified:  Sat Dec 21 18:44:48 UTC 2013
>Originator:     Mike Meyer
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
Meyer Consulting
>Environment:
System: FreeBSD bhuda.mired.org 6.1-STABLE FreeBSD 6.1-STABLE #3: Mon Jan 1 15:13:18 EST 2007 mwm@bhuda.mired.org:/usr/src/sys/amd64/compile/BHUDA amd64


>Description:
	mount_nfs can fail to mount even critical file systems under
	some conditions.
>How-To-Repeat:
	Try mounting mounting a file system from a non-existent host.
>Fix:
	Well, the bug should be fixed in mount_nfs, but mentioning it
	in the man page seems at least appropriate for now. The
	attached patch to mount_nfs.8 adds that.

--- mount_nfs.8 Wed Mar  7 17:52:14 2007
+++ mount_nfs.8-new     Wed Mar  7 17:54:48 2007
@@ -347,3 +347,9 @@
 but unfortunately this is restricted to mostly
 .Bx 4.4
 servers.
+.Pp
+If the host name lookup failed, the mount fails irregardless of the
+.FL b
+and
+.Fl R
+flags.



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Sat Dec 21 18:44:47 UTC 2013 
State-Changed-Why:  
Not a bug, and Linux also does this for example.  Is there an OS that 
doesn't do this? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110062 
>Unformatted:
