From owner-freebsd-questions Fri Jul 5 23:27:36 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA20163 for questions-outgoing; Fri, 5 Jul 1996 23:27:36 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA20153 for ; Fri, 5 Jul 1996 23:27:34 -0700 (PDT) Received: from localhost (localhost.Stanford.EDU [127.0.0.1]) by andrsn.stanford.edu (8.7.5/8.6.12) with SMTP id XAA09485; Fri, 5 Jul 1996 23:25:41 -0700 (PDT) Date: Fri, 5 Jul 1996 23:25:41 -0700 (PDT) From: Annelise Anderson Reply-To: Annelise Anderson To: Gary Chrysler cc: FreeBSD-Questions Subject: Re: makeing world In-Reply-To: <31DDF6B3.3FC3@ime.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sat, 6 Jul 1996, Gary Chrysler wrote: > I read someplace that it's best to drop into single user mode > to make world, Is this fact? > > If so, How does one log the make process. > I would normally do: make |& tee make.err > This don't work in single user mode. (Unless I did something wrong) In single user mode you have to mount the swap partition(s) with swapon -a before you do the make world. I used make world >& make.out& to get a "make.out" file recording the process. I think I typed csh first; probably you would need to do that with the command you used as it's probably a csh command. However you can make world without going into single user mode...I'm not sure but I think the benefit of single-user mode is that there are fewer processes running to use swap. I thought it was rather interesting to not do it in single user mode because the machine could continue to serve web pages and allow me to log in from home and look at what was going on (or you could log in on another virtual terminal)-- I ran swapinfo now and then and did tail -f make.out to see what was going on. make.out ends up over 3.5 megabytes. vmstat might also be interesting (as well as ps axl) although I suppose pulling up the carrots to see how they're growing prolongs the process. I've only done this once and I imagine more knowledgeable people will have other comments-- Annelise > > I'm having problems making world, It keeps crashing and I don't > get a chance to see the screen before it re-boots and eats > my source tree. > > -Enjoy > Gary > ~~~~~~~~~~~~~~~~ > Improve America's Knowledge... Share yours > The Borg... Where minds meet > (207) 929-3848 >