From owner-freebsd-ports Sat Feb 16 12:43:31 2002 Delivered-To: freebsd-ports@freebsd.org Received: from aaz.links.ru (aaz.links.ru [193.125.152.37]) by hub.freebsd.org (Postfix) with ESMTP id AA2DD37B402 for ; Sat, 16 Feb 2002 12:43:25 -0800 (PST) Received: (from babolo@localhost) by aaz.links.ru (8.9.3/8.9.3) id XAA10801; Sat, 16 Feb 2002 23:49:42 +0300 (MSK) Message-Id: <200202162049.XAA10801@aaz.links.ru> Subject: Re: [ade@FreeBSD.org: suggests installing in a USER's HOME dir] In-Reply-To: <3C6E644B.3080102@surfbest.net> from "Ken Stailey" at "Feb 16, 2 08:53:15 am" To: kstailey@surfbest.net (Ken Stailey) Date: Sat, 16 Feb 2002 23:49:42 +0300 (MSK) Cc: alane@geeksrus.net, "."@babolo.ru, ports@FreeBSD.ORG, klh@panix.com From: "."@babolo.ru MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 Ken Stailey writes: > Alan Eldridge wrote: > >On Sat, Feb 16, 2002 at 09:23:57AM +0300, "."@babolo.ru wrote: > >>Alan Eldridge writes: > >>>----- 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? > >>>> > >>>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. > >>> > >>I think use of environment variable is good enough. > >>${EMULATOR_SPACE} for example (directory for all emulator's disk images) > >>administrator can set it in login.conf for everybody > >>or for some classes of users, user can set EMULATOR_SPACE for > >>himself, and no user install if script does not detect > >>this variable. > >Ken, does it get directories from env as well as .ini file? > > > >If it doesn't, then this would entail some invasive software mods that > >I think are beyond the scope of a port, unless the original author was > >willing to incoroporate them into the base distribution. > > > I don't get this at all. Are you saying that it's OK to tell a user to > modify an env var but not an .ini file? > > Seems like all I hear about are limitations I don't understand the > reason for and over-engineering like layers of scripts to position files > when there are already ways to tell the Makefiles what to do. You are right if your port the only port with big disk image. But ypu are first and there are a lot of big images with a lot of OSes on it to play with. I think that some images with UNIX v{5,6,7} will be next. Much more count of images can't be free ports, but can share the same method to define directory to install to. So, common env variable can be used in all such cases and can be established with the least work for example by admin in something as /big/${USER}/emul - once for all emulators and users. Script which uses this variable can be that script that installs files in /big/${USER} dir and modyfies .ini files - no need to patch a emulator in that way that it understand env variables itself. -- @BABOLO http://links.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message