From owner-freebsd-questions Mon Aug 25 23:10:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA12114 for questions-outgoing; Mon, 25 Aug 1997 23:10:16 -0700 (PDT) Received: from andrsn.stanford.edu (root@andrsn.Stanford.EDU [36.33.0.163]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA12109 for ; Mon, 25 Aug 1997 23:10:14 -0700 (PDT) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.8.6/8.6.12) with SMTP id XAA21048 for ; Mon, 25 Aug 1997 23:08:26 -0700 (PDT) Date: Mon, 25 Aug 1997 23:08:23 -0700 (PDT) From: Wes Peters X-Sender: andrsn@andrsn.stanford.edu To: freebsd-questions@freebsd.org Subject: Re: Any reason not to remove /usr/obj/* ? (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk The definitive answer from Wes Peters--he forgot to include freebsd-questions on the cc: line, so here it is. I put his name in the "From" line. Annelise Doug White commented from on high: % If you're not doing any 'make world's, then /usr/obj is destroyable. Annelise Anderson writes: > I would like some clarification on this. There seem to be about 150 > megabytes in my /usr/obj. I thought this was created as an intermediate > step in the make world process. Would leaving it there shorten the time > on a subsequent make world, or does everything in any case get remade? > If so, the only purpose of keeping these around is as a "spaceholder" > for a future made world. As the name implies, /usr/obj is a place where the intermediate object files that make up the commands, utilities, etc. are placed. If you change 10% of the system source between 'make world' commands, you only need to regenerate 10% of the object files, the rest remain untouched. If you remove /usr/obj, you will have to remake 100% of the object files, at a cost of extra computing cycles, disk I/Os, etc. In short: if you've got the disk space and are going to be rebuilding the world, leave 'em. If you need the disk space, grab it. If you're undecided, buy a Jaz drive and a cartrige for /usr/obj. ;^) -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com