From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 05:13:58 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B6ED16A41F for ; Sun, 4 Jun 2006 05:13:58 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A908143D46 for ; Sun, 4 Jun 2006 05:13:57 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k5451AR0006590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 4 Jun 2006 08:01:11 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k5453L3R062239; Sun, 4 Jun 2006 08:03:21 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k5453Ggd062238; Sun, 4 Jun 2006 08:03:16 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 4 Jun 2006 08:03:16 +0300 From: Giorgos Keramidas To: Kris Kennaway Message-ID: <20060604050316.GE61942@gothmog.pc> References: <20060523143013.GA11472@ci0.org> <20060523194106.GA46634@xor.obsecurity.org> <20060524203645.GB13500@gothmog.pc> <20060524203747.GA88742@xor.obsecurity.org> <20060524204617.GA13701@gothmog.pc> <20060601002024.GA1453@gothmog.pc> <20060601210655.GA36389@xor.obsecurity.org> <20060601213527.GA53422@gothmog.pc> <20060602215005.GA43170@nowhere> <20060602220724.GA71883@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060602220724.GA71883@xor.obsecurity.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.409, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: Craig Boston , freebsd-current@freebsd.org Subject: Re: md /tmp and async mounts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 05:13:58 -0000 On 2006-06-02 18:07, Kris Kennaway wrote: >On Fri, Jun 02, 2006 at 04:50:06PM -0500, Craig Boston wrote: >>On Fri, Jun 02, 2006 at 12:35:27AM +0300, Giorgos Keramidas wrote: >>> Ok, I'll prepare a patch that enables async and disables -M. We >>> should also document the fact that tmpmfs="YES" and varmfs="YES" >>> in rc.conf may require the presence of at least one swap device >>> by default, and point the users to -M with a warning if they run >>> FreeBSD without a swap device but still want to use tmpmfs or >>> varmfs :) >> >> I may be mistaken, but from my (brief) reading of the code it seems >> to me that perhaps "swap-backed" isn't an entirely accurate term. >> More like "VM-backed", with the understanding that VM is (usually) >> backed by swap. >> >> I think if you don't have any swap configured, a swap-backed md >> will be no worse off than a memory-backed one would. > > Yeah, it's kind of a poorly chosen name. Should we still revert the default from using -M for tmpmfs="YES" and varmfs="YES" in rc.conf? - Giorgos