From owner-cvs-all Mon Apr 1 18: 4:50 2002 Delivered-To: cvs-all@freebsd.org Received: from obsecurity.dyndns.org (adsl-64-169-104-17.dsl.lsan03.pacbell.net [64.169.104.17]) by hub.freebsd.org (Postfix) with ESMTP id 9D14937B400; Mon, 1 Apr 2002 18:04:42 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 27E0966D19; Mon, 1 Apr 2002 18:04:42 -0800 (PST) Date: Mon, 1 Apr 2002 18:04:42 -0800 From: Kris Kennaway To: David O'Brien Cc: Jordan Hubbard , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade.c media.c package.c Message-ID: <20020401180441.C50003@xor.obsecurity.org> References: <23057.1017705170@winston.freebsd.org> <20020401160635.A38369@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="nmemrqcdn5VTmUEE" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020401160635.A38369@dragon.nuxi.com>; from obrien@FreeBSD.org on Mon, Apr 01, 2002 at 04:06:35PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --nmemrqcdn5VTmUEE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 01, 2002 at 04:06:35PM -0800, David O'Brien wrote: > On Mon, Apr 01, 2002 at 03:52:50PM -0800, Jordan Hubbard wrote: > > I'll bet you find out the hard way that such is not the case. More > > specifically, you'll find that /var/tmp exists but is chosen at too > > small a size to make all the packages extract properly. Try your > > fix with some really large packages and you'll find this out. /usr/tmp > > was chosen specifically as a temporary storage location that's far > > more likely to have enough free space to do what we need to do for > > packages even as large as xemacs or XFree86. >=20 > Matt Dillon made /var 256MB by default. Has Emacs gotten bigger than > that? (I would be believe you if you said "yes"). This is true for new installations but not for upgrades. Anyway, there's still the fallback login in pkg_add which creates and uses /usr/tmp if there's insufficient space in /var/tmp to actually extract the package. I think this is slightly evil, but I think the alternative (not being able to install large packages at all) is worse. Kris --nmemrqcdn5VTmUEE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8qRG5Wry0BWjoQKURApZYAJ4zkL+ZESSamegyInTQDEpHqiPBewCfQnfY JzRLIkdIvzHTnxbgG/5l1Fw= =yZcr -----END PGP SIGNATURE----- --nmemrqcdn5VTmUEE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message