From owner-freebsd-fs@FreeBSD.ORG Sun Oct 2 09:09:15 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00F26106566B; Sun, 2 Oct 2011 09:09:15 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2458FC12; Sun, 2 Oct 2011 09:09:14 +0000 (UTC) Received: by yxk36 with SMTP id 36so3410190yxk.13 for ; Sun, 02 Oct 2011 02:09:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MJ34FTER3Fa/FbtPnaNHQqcU7Jdo1ZYky6bgHJB9TMM=; b=rQbSIDlP6nQ5R5cpO4iuwcmh15afB1Sorw3kPUqiRuxPEGnCQ9vAFX+oUH8Zq2G04u RQO06TuNEMxrMDi97Lohg1++acziz/PqYfdI++moSoA3zUaGkkNiEp3Wc+nDPf4nZfSV 2bvuNuHiSlKvuG7YCHgaVdx+Gr1oorqtQLIdA= MIME-Version: 1.0 Received: by 10.150.238.18 with SMTP id l18mr4536903ybh.335.1317546552842; Sun, 02 Oct 2011 02:09:12 -0700 (PDT) Received: by 10.151.145.18 with HTTP; Sun, 2 Oct 2011 02:09:12 -0700 (PDT) In-Reply-To: References: <20111002020231.GA70864@icarus.home.lan> Date: Sun, 2 Oct 2011 02:09:12 -0700 Message-ID: From: Xin LI To: krad Content-Type: text/plain; charset=UTF-8 Cc: freebsd-fs@freebsd.org, Adrian Chadd , delphij@freebsd.org Subject: Re: is TMPFS still highly experimental? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2011 09:09:15 -0000 On Sun, Oct 2, 2011 at 2:01 AM, krad wrote: > It may seem a silly question, but I have been wondering about tmpfs and zfs, > and whether there is any point to mixing the two? > > Surely if you have frequently accessed files under /tmp they are going to be > in the arc or l2arc anyway so fairly speedy, or am I missing the point of > tmpfs? tmpfs is useful when persist storage is unnecessary -- when system goes off (or rebooted) the data are dropped. If you use a normal file system then persist semantics are obeyed say, if you do sync(), data is being flushed into data, etc. Cheers, -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die