From owner-freebsd-doc@FreeBSD.ORG Sat Nov 10 23:00:01 2012 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 946BE873 for ; Sat, 10 Nov 2012 23:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 503148FC0A for ; Sat, 10 Nov 2012 23:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qAAN01Zg047571 for ; Sat, 10 Nov 2012 23:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qAAN01s4047570; Sat, 10 Nov 2012 23:00:01 GMT (envelope-from gnats) Resent-Date: Sat, 10 Nov 2012 23:00:01 GMT Resent-Message-Id: <201211102300.qAAN01s4047570@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B5FA83C for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: docs/173539: [patch] statfs(2) man page missed the error code ENOSYS X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Nov 2012 23:00:01 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Nov 10 23:00:01 UTC 2012 >Closed-Date: >Last-Modified: >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: >Unformatted: