From owner-freebsd-current Mon Jul 1 08:30:45 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id IAA04434 for current-outgoing; Mon, 1 Jul 1996 08:30:45 -0700 (PDT) Received: from mail.cs.tu-berlin.de (root@mail.cs.tu-berlin.de [130.149.17.13]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id IAA04423 for ; Mon, 1 Jul 1996 08:30:34 -0700 (PDT) Received: from campa.panke.de (anonymous225.ppp.cs.tu-berlin.de [130.149.17.225]) by mail.cs.tu-berlin.de (8.6.12/8.6.12) with ESMTP id RAA09401 for ; Mon, 1 Jul 1996 17:19:26 +0200 Received: (from wosch@localhost) by campa.panke.de (8.6.12/8.6.12) id RAA03748; Mon, 1 Jul 1996 17:16:51 +0200 Date: Mon, 1 Jul 1996 17:16:51 +0200 From: Wolfram Schneider Message-Id: <199607011516.RAA03748@campa.panke.de> To: current@freebsd.org Subject: cvs speedup with MFS Reply-to: Wolfram Schneider MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk time cvs rdiff -rRELENG_2_1_0 bin >/dev/null without mfs 96.41 real 35.85 user 24.41 sys with mfs 70.14 real 35.62 user 24.44 sys Unfortunately cvs(1) use tmpnam(3), which always try /var/tmp (P_tmpdir from stdio.h). Nobody mount /var/tmp with mfs. Can we change P_tmpdir to "/tmp/" or use _PATH_TMP from paths.h in tmpnam(3)? /usr/include/stdio.h: /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ #ifndef _ANSI_SOURCE #define P_tmpdir "/var/tmp/" #endif Wolfram