From owner-freebsd-fs Fri Dec 8 2:19:19 2000 From owner-freebsd-fs@FreeBSD.ORG Fri Dec 8 02:19:17 2000 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 6617F37B400 for ; Fri, 8 Dec 2000 02:19:16 -0800 (PST) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id LAA38014; Fri, 8 Dec 2000 11:19:09 +0100 (CET) (envelope-from des@ofug.org) Sender: des@ofug.org X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Christopher Stein Cc: freebsd-fs@FreeBSD.ORG Subject: Re: f_asyncwrites References: From: Dag-Erling Smorgrav Date: 08 Dec 2000 11:19:08 +0100 In-Reply-To: Christopher Stein's message of "Wed, 6 Dec 2000 21:32:11 -0500 (EST)" Message-ID: Lines: 42 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Christopher Stein writes: > Can someone please tell me where the f_asyncwrites and f_syncwrites > fields of the mount structure's statfs structure are incremented. > > I am having a devil of a time finding it. Grep is not turning anything > up. You may find the following useful in combination with /usr/ports/textproc/glimpse: #!/bin/sh set -e tag_current="" tag_stable="-rRELENG_4" [ -n "${branches}" ] || branches="current stable" [ -n "${prefix}" ] || prefix="$(dirname $0)" [ -n "${CVSROOT}" ] || CVSROOT="/home/ncvs" export CVSROOT # No user-serviceable parts beyond this point for branch in ${branches} ; do if [ ! -d ${prefix}/${branch}/src ] ; then /usr/bin/install -d -m 755 ${prefix}/${branch} cd ${prefix}/${branch} eval "/usr/bin/cvs -d ${CVSROOT} checkout \${tag_$branch} src" else cd ${prefix}/${branch}/src eval "/usr/bin/cvs -d ${CVSROOT} update \${tag_$branch}" cd ${prefix}/${branch} fi find src -type f | egrep -v '/(.\#|CVS/)' | /usr/local/bin/glimpseindex -B -F -o -H . -M 8 chmod a+r .glimpse* cd - done DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message