From owner-freebsd-ports@FreeBSD.ORG Sat Dec 19 18:01:49 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FFA1065780; Sat, 19 Dec 2009 18:01:49 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6E0F88FC08; Sat, 19 Dec 2009 18:01:48 +0000 (UTC) Received: by fxm27 with SMTP id 27so3706126fxm.3 for ; Sat, 19 Dec 2009 10:01:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=bPXXXOOMo1LbPYs3+rhAT00nnQajnNrAX3AQPmM168E=; b=QXePAKCtSWuyRNP6xeuBjefcGmJcLDi/t702T8C56d/d2/w3NySlMmdbuKmDRW6b0R 9hL1XYN/53hzNS2otZDWv3DPweHCOfBx9AGadXj5yUWCw/KlLMZrtSNkokhAw1GThFt0 gGZ78nVJn6+00ZQM2cHq5LvVU2gOhu8+RWt2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qdChbRBIjx7hizG1JMl8qpWyUNIIJVx9FAUyzqIV4sTZv+I67ME00BkXI0WL3tSwge mZ2oieC9530tTXmOsLNzn0LWgbmb4hnzTgdRnCGqTHMTx01n2qWnnPyIqHNyx579469H f6mnBjKvAZ/DTHQhUlZzUiWh7R7jDak+NAQ64= MIME-Version: 1.0 Received: by 10.239.187.137 with SMTP id l9mr582741hbh.57.1261245707019; Sat, 19 Dec 2009 10:01:47 -0800 (PST) In-Reply-To: <20091217145519.GN55913@acme.spoerlein.net> References: <4B1C118D.6080605@FreeBSD.org> <20091217145519.GN55913@acme.spoerlein.net> Date: Sat, 19 Dec 2009 16:01:46 -0200 Message-ID: From: "Carlos A. M. dos Santos" To: Doug Barton , freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: How do I make npviewer.bin respect $TMPDIR ?? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2009 18:01:49 -0000 On Thu, Dec 17, 2009 at 12:55 PM, Ulrich Sp=F6rlein wro= te: > On Sun, 06.12.2009 at 12:18:21 -0800, Doug Barton wrote: >> Howdy, >> >> I'm -current, i386, linux_base-f10-10_2, and >> linux-f10-flashplugin-10.0r32; all with the latest firefox 35. It all >> works fine, until my teeny tiny (24M) memory disk /tmp gets full. >> >> I have created a wrapper script for firefox to set TMPDIR (and TMP and >> TEMPDIR just in case) to a large partition on local disk, which works >> for firefox proper, but npviewer.bin is still putting its temp files >> on the real /tmp. So, how do I whip it into shape? > > Haven't tried this, but there's a slight chance that the linux binary > will prefer /compat/linux paths over / paths, and since there seems to > be no /compat/linux/tmp, please try creating or symlinking one ... Or put something like this in /etc/fstab: /tmp /usr/compat/linux/tmp nullfs rw 0 0 --=20 My preferred quotation of Robert Louis Stevenson is "You cannot make an omelette without breaking eggs". Not because I like the omelettes, but because I like the sound of eggs being broken.