Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2012 22:55:14 GMT
From:      Yuri <yuri@tsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/173539: [patch] statfs(2) man page missed the error code ENOSYS
Message-ID:  <201211102255.qAAMtENf095214@red.freebsd.org>
Resent-Message-ID: <201211102300.qAAN01s4047570@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211102255.qAAMtENf095214>