From owner-freebsd-ports Fri Feb 15 20:21:13 2002 Delivered-To: freebsd-ports@freebsd.org Received: from server3.safepages.com (server3.safepages.com [216.127.146.5]) by hub.freebsd.org (Postfix) with ESMTP id 4641537B43D for ; Fri, 15 Feb 2002 20:20:49 -0800 (PST) Received: from hermes.surfbest.net (reston-gnap-ip-216012-188.dynamic.ziplink.net [216.8.12.188]) by server3.safepages.com (Postfix) with ESMTP id D99B75DF6; Sat, 16 Feb 2002 04:20:41 +0000 (GMT) Received: from surfbest.net (localhost.surfbest.net [127.0.0.1]) by hermes.surfbest.net (8.11.6/8.11.6) with ESMTP id g1G4Ihv36419; Fri, 15 Feb 2002 23:18:59 -0500 (EST) (envelope-from kstailey@surfbest.net) Message-ID: <3C6DDDA2.9000302@surfbest.net> Date: Fri, 15 Feb 2002 23:18:42 -0500 From: Ken Stailey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.7) Gecko/20011222 X-Accept-Language: en-us MIME-Version: 1.0 To: Alan Eldridge Cc: FreeBSD Ports List Subject: Re: [ade@FreeBSD.org: suggests installing in a USER's HOME dir] References: <20020216034549.GA51544@wwweasel.geeksrus.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Alan Eldridge wrote: >----- Forwarded message from Ade Lovett ----- >On 02/15/02 21:21, "Alan Eldridge" wrote: > >>But nobody ever did chime in with an idea of where the best place to put >>a 200-400MB *writable* file, installed by a port, is. And that, of course, >>was the whole point in cc'ing portmgr. So, any thoughts on that? >> > >There is no precedent for this. The closest port (and its aways away by a >long shot) is vmware, when it creates its disk images, usually within the >users home directory. > >Hmm. Perhaps instead of using a hardcoded location, you fix0r the code to >dig up the users home directory getpwuid(geteuid()), and use/create a klh >(or even .klh) subdirectory for the writable stuff? Store a gzipped copy >somewhere in ${PREFIX}, and provide an "initialize" script to do the >necessary magic. > >-aDe > >----- End forwarded message ----- > >So, to follow onto this, here's a suggestion: > >1. Store the compressed PI disk image in /usr/local/share/whatever. > How about /usr/ports/distfiles instead? It would save 45MB not to have another copy of the PI disk image. > >2. Create an "install as user" script. This creates a custom set of .ini >files and copies them, along with an uncompressed disk image, to a directory >that a user specifies. > How about just # make install IMAGE_HOME=/my/favorite/dir/for/giant/writable/files > >IOW, basically what he said, and which was also one of my earlier suggestions. > >Bottom line is, there's just no reliable way to pick a place that will fit >the requirements of (1) unique to local machine (2) big enough (3) writable. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message