From owner-freebsd-questions@FreeBSD.ORG Thu Aug 23 00:58:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 319781065675 for ; Thu, 23 Aug 2012 00:58:04 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id A8E6E8FC12 for ; Thu, 23 Aug 2012 00:58:03 +0000 (UTC) Received: by wibhr14 with SMTP id hr14so193285wib.13 for ; Wed, 22 Aug 2012 17:58:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=68Jx7t8yEGclx9bxjVUf+PA7i3Q9yP36lJdXdIcdiwI=; b=BpOO8g9PHVi7IoRtk+Po/LSXFLPvbn+EDboJggWmP1ptbmuQB+xK+jR6SS382oYG0t RSRU3ZukwiOWVq42DNXF06KrssqxIZdfhas1yrhoOsf43VJPJTtB/yIAx6MbblXRKC0Y cLfTYL+1k417vY4LAh0Mm2M1eqln6d2vBNIYQZOya0J5j5K1//qS9U2BADYNDBztLvn+ JHySBHUQGvQ33kVuqkOXLKU3ypT5ggIsKMT869MQtItxEt9fTP+hn0JFeoRmZiFgzrVJ Gi9ubG2F6LYCtnnmiUJw4NcSwyRxIMDc4b1tsZsdm1XhqmaX99SJlWiKzxcXQylYeHOm SxfQ== MIME-Version: 1.0 Received: by 10.216.203.154 with SMTP id f26mr2606869weo.104.1345683482466; Wed, 22 Aug 2012 17:58:02 -0700 (PDT) Received: by 10.223.160.9 with HTTP; Wed, 22 Aug 2012 17:58:02 -0700 (PDT) In-Reply-To: <20120823024351.16385ade.freebsd@edvax.de> References: <201208221934.q7MJYfwM063804@mail.r-bonomi.com> <1345664911.2501.8.camel@z6000.lenzicasa> <20120822232112.07ac3517@gumby.homeunix.com> <20120822232907.34fc82fc@gumby.homeunix.com> <20120823024351.16385ade.freebsd@edvax.de> Date: Wed, 22 Aug 2012 17:58:02 -0700 Message-ID: From: Michael Sierchio To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQlFoNBk4Vl1ntK3uzCBzEeZOxVeqCVra6z7CwhdFXt2cScB4iuVLzKGHbnmF5Hc8Qg9X0eR Cc: RW , freebsd-questions@freebsd.org Subject: Re: /tmp filesystem full X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2012 00:58:04 -0000 On Wed, Aug 22, 2012 at 5:43 PM, Polytropon wrote: > For the mentioned appliances, that would not be a problem. > However there's a distinction between /tmp and /var/tmp > that can be summarized like this: The content of /tmp may > disappear after a reboot (see clear_tmp_enable="YES" in > /etc/rc.conf), whereas /var/tmp is to be preserved during > reboot. Some programs rely on this behavior when putting > "delete-temporary" and "keep-temporary" files into the > respective directories. You are quite right - most of what's in /var is expected to be persistent. In the case where /var/tmp is on a mfs, it's hard to oblige. On these same systems, I do have rc scripts that save parts of /var (those listed in an rc.conf variable) for shutdown, and populate those dirs (after /etc/rc.d/var does its mtree stuff) on start up. - M