Skip site navigation (1)Skip section navigation (2)
Date:      08 Dec 2000 11:19:08 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Christopher Stein <stein@eecs.harvard.edu>
Cc:        freebsd-fs@FreeBSD.ORG
Subject:   Re: f_asyncwrites
Message-ID:  <xzpy9xr43mr.fsf@flood.ping.uio.no>
In-Reply-To: Christopher Stein's message of "Wed, 6 Dec 2000 21:32:11 -0500 (EST)"
References:  <Pine.BSF.4.21.0012062129550.6699-100000@orvieto.eecs.harvard.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Stein <stein@eecs.harvard.edu> 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




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