From nobody@FreeBSD.org  Sat Nov 10 22:55:14 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 8B5FA83C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2012 22:55:14 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7180F8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2012 22:55:14 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAMtEgG095216
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 10 Nov 2012 22:55:14 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qAAMtENf095214;
	Sat, 10 Nov 2012 22:55:14 GMT
	(envelope-from nobody)
Message-Id: <201211102255.qAAMtENf095214@red.freebsd.org>
Date: Sat, 10 Nov 2012 22:55:14 GMT
From: Yuri <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] statfs(2) man page missed the error code ENOSYS
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         173539
>Category:       docs
>Synopsis:       [patch] statfs(2) man page missed the error code ENOSYS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 10 23:00:01 UTC 2012
>Closed-Date:    Thu May 15 03:17:19 UTC 2014
>Last-Modified:  Thu May 15 03:17:19 UTC 2014
>Originator:     Yuri
>Release:        9.1-RC3
>Organization:
n/a
>Environment:
>Description:
Please commit the attached patch.
This error occurred for me de-facto while using fuse mounted FS.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- /usr/src/lib/libc/sys/statfs.2.orig	2012-11-10 14:46:32.000000000 -0800
+++ /usr/src/lib/libc/sys/statfs.2	2012-11-10 14:50:28.000000000 -0800
@@ -225,6 +225,9 @@
 An
 .Tn I/O
 error occurred while reading from or writing to the file system.
+.It Bq Er ENOSYS
+Function not implemented error occurs when the underlying file
+system driver doesn't handle this function.
 .El
 .Sh SEE ALSO
 .Xr fhstatfs 2


>Release-Note:
>Audit-Trail:

From: Yuri <yuri@rawbw.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/173539: [patch] statfs(2) man page missed the error code
 ENOSYS
Date: Sun, 11 Nov 2012 10:02:07 -0800

 I take back this patch. I believe this fuse driver erroneously returns 
 this error code, this shouldn't be allowed for the fuse driver.
 Please close this PR.
 
 Yuri
 
State-Changed-From-To: open->closed 
State-Changed-By: gavin 
State-Changed-When: Thu May 15 03:16:39 UTC 2014 
State-Changed-Why:  
Submitter believed (in 2012!) that this PR should be closed. 

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