From owner-freebsd-ports Wed Jun 5 16:08:42 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id QAA14658 for ports-outgoing; Wed, 5 Jun 1996 16:08:42 -0700 (PDT) Received: from mail.barrnet.net (mail.barrnet.net [131.119.246.7]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id QAA14643 for ; Wed, 5 Jun 1996 16:08:36 -0700 (PDT) Received: from distortion.eng.umd.edu (distortion.eng.umd.edu [129.2.98.6]) by mail.barrnet.net (8.7.5/MAIL-RELAY-LEN) with ESMTP id QAA07213 for ; Wed, 5 Jun 1996 16:08:33 -0700 (PDT) Received: from skipper.eng.umd.edu (skipper.eng.umd.edu [129.2.98.208]) by distortion.eng.umd.edu (8.7.5/8.7.3) with ESMTP id TAA28928; Wed, 5 Jun 1996 19:05:41 -0400 (EDT) Received: (from chuckr@localhost) by skipper.eng.umd.edu (8.7.5/8.7.3) id TAA00362; Wed, 5 Jun 1996 19:05:40 -0400 (EDT) Date: Wed, 5 Jun 1996 19:05:40 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@skipper.eng.umd.edu To: John Fieber cc: ports@freebsd.org Subject: Re: DISTDIR idea In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wed, 5 Jun 1996, John Fieber wrote: > In helping someone out with some documentation for using the > ports collection, it occured to me that it would be much simpler > for people with CDROMS if the do-fetch target quietly checked > /cdrom/ports/distfiles before DISTDIR and ultimately marching off > to the net. > > The problem is that specifying DISTDIR=/cdrom/ports/distfiles > breaks if the source file isn't there, and the error message you > get from ncftp isn't very useful. The other option, making a > linkfarm in /usr/ports/distfiles requires lndir which comes with > X and it causes things to break if you don't have the correct > CDROM drive. > > It seems like explicitly checking the CDROM first would solve > both of these problems with the added bonus that > /usr/ports/distfiles would only have files not on the CDROM. When > I'm mining for disk space, that is the first place I usually hit > and it would be nice to just rm * it rather than some find > command to list non-symlink files. Great idea, that way I can stop symlinking back and forth, while I try to remember where stuff is. > > Opinions? > > -john > > == jfieber@indiana.edu =========================================== > == http://fallout.campusview.indiana.edu/~jfieber ================ > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and n3lxx, both FreeBSD (301) 220-2114 | version 2.2 current -- and great FUN! ----------------------------+-----------------------------------------------