From owner-freebsd-bugs Thu Mar 15 11:20:39 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A666B37B71D for ; Thu, 15 Mar 2001 11:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2FJK1i59426; Thu, 15 Mar 2001 11:20:01 -0800 (PST) (envelope-from gnats) Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id 3F56737B71C for ; Thu, 15 Mar 2001 11:10:55 -0800 (PST) (envelope-from fanf@dotat.at) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14dQD8-0000At-00 for FreeBSD-gnats-submit@freebsd.org; Thu, 15 Mar 2001 05:22:06 +0000 Message-Id: Date: Thu, 15 Mar 2001 05:22:06 +0000 From: Tony Finch Reply-To: Tony Finch To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/25834: incorrect documentation of struct statfs in statfs(2) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 25834 >Category: kern >Synopsis: incorrect documentation of struct statfs in statfs(2) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 11:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Tony Finch >Release: FreeBSD 4.3-BETA i386 >Organization: Covalent Technologies, Inc. >Environment: System: FreeBSD hand.dotat.at 4.3-BETA FreeBSD 4.3-BETA #6: Thu Mar 15 04:57:36 GMT 2001 fanf@hand.dotat.at:/FreeBSD/releng4/sys/compile/DELL-Latitude-CSx i386 >Description: The f_syncreads and f_asyncreads entries are missing from the man page. >How-To-Repeat: >Fix: This also tidies up the formatting a bit and omits all the padding entries. Index: statfs.2 =================================================================== RCS file: /home/ncvs/src/lib/libc/sys/statfs.2,v retrieving revision 1.9.2.4 diff -u -r1.9.2.4 statfs.2 --- statfs.2 2000/12/29 14:44:54 1.9.2.4 +++ statfs.2 2001/03/15 05:19:08 @@ -67,7 +67,6 @@ #define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { -long f_spare2; /* placeholder */ long f_bsize; /* fundamental file system block size */ long f_iosize; /* optimal transfer block size */ long f_blocks; /* total data blocks in file system */ @@ -82,8 +81,10 @@ long f_syncwrites; /* count of sync writes since mount */ long f_asyncwrites; /* count of async writes since mount */ char f_fstypename[MFSNAMELEN];/* fs type name */ -char f_mntonname[MNAMELEN]; /* mount point */ -char f_mntfromname[MNAMELEN]; /* mounted filesystem */ +char f_mntonname[MNAMELEN]; /* mount point */ +long f_syncreads; /* count of sync reads since mount */ +long f_asyncreads; /* count of async reads since mount */ +char f_mntfromname[MNAMELEN]; /* mounted filesystem */ }; .Ed The flags that may be returned include: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message