From owner-freebsd-questions@FreeBSD.ORG Fri Nov 18 12:38:49 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE2B16A41F for ; Fri, 18 Nov 2005 12:38:49 +0000 (GMT) (envelope-from freebsd@redry.net) Received: from luke.segpub.com.au (luke.segpub.com.au [64.49.254.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BBEE43D46 for ; Fri, 18 Nov 2005 12:38:44 +0000 (GMT) (envelope-from freebsd@redry.net) Received: (qmail 47011 invoked by uid 89); 18 Nov 2005 23:38:43 +1100 Received: by simscan 1.1.0 ppid: 46979, pid: 46987, t: 2.5323s scanners: clamav: 0.87/m:34/d:1169 spam: 3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on luke.segpub.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.0 Received: from unknown (HELO ?137.43.83.191?) (137.43.83.191) by 0 with SMTP; 18 Nov 2005 23:38:41 +1100 Message-ID: <437DCB50.8020708@redry.net> Date: Fri, 18 Nov 2005 12:38:40 +0000 From: eoghan User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 To: freebsd@orchid.homeunix.org References: <437DA3A1.4010700@redry.net> <437DC9DF.9020501@orchid.homeunix.org> In-Reply-To: <437DC9DF.9020501@orchid.homeunix.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: openoffice and var/ 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: Fri, 18 Nov 2005 12:38:49 -0000 Karol Kwiatkowski wrote: > eoghan wrote: >> Hello >> Ive tried a few time without success to install openoffice (from pkg and >> port)... Problem is, when its building it writes lots of stuff to var/ >> which isnt huge on my system... usually around about 250MB free. It >> quickly fills this, then cant write to it anymore and eventually fails. >> So, is there any way to tell it to write to somewhere I have lots of >> space, or will this just cause other problems using it? > > I guess what you're looking for is -t option for pkg_add(1): > >> -t template >> Use template as the input to mktemp(3) when creating a ``staging >> area''. By default, this is the string /var/tmp/instmp.XXXXXX, >> but it may be necessary to override it in the situation where >> space in your /var/tmp directory is limited. Be sure to leave >> some number of `X' characters for mktemp(3) to fill in with a >> unique ID. >> >> You can get a performance boost by setting the staging area >> template to reside on the same disk partition as target directo- >> ries for package file installation; often this is /usr. > > FYI, I'm installing OOo 2.0 from a package right now and pkg_add > requested about 380MB of temporary space. > > Cheers, > > Karol Thats great, thanks very much Karol Eoghan