From owner-freebsd-stable@FreeBSD.ORG Mon May 29 15:10:19 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 30E9016AAC6 for ; Mon, 29 May 2006 15:10:19 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BAD543D81 for ; Mon, 29 May 2006 15:10:02 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nf-out-0910.google.com with SMTP id n28so213941nfc for ; Mon, 29 May 2006 08:10:02 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to; b=dCsCpZihbJBh3SBWkoArlxvFZ7hNcXRuY+ZZ4vHixTPQ3+7fgfMIDa0ma2wgDPr4dRYI2uOGLos13oUcIass3c/5QsKTopz3W7EOIDy4wgXrwub6Lk1TrqcaoFWF5oJaoQ5Ae2cj3/q/tuCaRCvvP84PSBIfh9KExoqR+IxWCGg= Received: by 10.49.33.18 with SMTP id l18mr1804110nfj; Mon, 29 May 2006 08:03:32 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.119.248]) by mx.gmail.com with ESMTP id l32sm296805nfa.2006.05.29.08.03.30; Mon, 29 May 2006 08:03:32 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k4TF3CPB006512; Mon, 29 May 2006 17:03:16 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k4TEkAFi006101; Mon, 29 May 2006 16:46:10 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Mon, 29 May 2006 16:46:10 +0200 From: Ulrich Spoerlein To: Greg Rivers Message-ID: <20060529144610.GD1117@roadrunner.q.local> Mail-Followup-To: Greg Rivers , freebsd-stable@freebsd.org, Paul Allen References: <44764417.4030004@alumni.rice.edu> <20060526004343.GE28128@groat.ugcs.caltech.edu> <200605252220.44739.gcr+freebsd-stable@tharned.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eqp4TxRxnD4KrmFZ" Content-Disposition: inline In-Reply-To: <200605252220.44739.gcr+freebsd-stable@tharned.org> Cc: Paul Allen , freebsd-stable@freebsd.org Subject: Re: kmem leak in tmpmfs? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 15:10:24 -0000 --eqp4TxRxnD4KrmFZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greg Rivers wrote: > On Thursday 25 May 2006 19:43, Paul Allen wrote: > > >From Jonathan Noack , Thu, May 25, 2006 at > > > 07:56:07PM -0400: I am currently running with the following in > > > /etc/rc.conf and haven't experienced any problems: > > > tmpmfs_flags=3D"-S -o async" > > > > Is there a way to accomplish this with an fstab entry? > > > > md /tmp mfs rw,async,-s1024m,-S > > > > no,I don't think so. But surely it would be better to just fixup the > > standard mount -t path to not call mount_mfs... > > >=20 > Actually there is a way. I too have not been satisfied with the tmpmfs= =20 > features in rc, so for some time now I've simply created a hard link: >=20 > cd /sbin && ln -f mdmfs mount_md >=20 > and then used an entry like this in /etc/fstab: >=20 > md /tmp md rw,async,-Sp1777,-s768M 0 0 >=20 > This works great for me. A simple patch to mtree could make this hard li= nk=20 > part of the base system. Nothing else is needed. You should use the 'mfs' file system. This works out of the box: md /tmp mfs rw,-s256m,-S,-Otime,async,noatime 0 0 Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --eqp4TxRxnD4KrmFZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEewky524iJyD+6d0RAi6RAKCIIQgOJ2ANFv2AKiYN9mq3cT/rrgCdG3va 01WBI5ibqiJfrk+uIou5jWU= =3DYs -----END PGP SIGNATURE----- --eqp4TxRxnD4KrmFZ--