Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 1996 23:25:41 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Gary Chrysler <tcg@ime.net>
Cc:        FreeBSD-Questions <questions@freebsd.org>
Subject:   Re: makeing world
Message-ID:  <Pine.BSI.3.94.960705231008.9461A-100000@andrsn.stanford.edu>
In-Reply-To: <31DDF6B3.3FC3@ime.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <whatever> |& 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
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.960705231008.9461A-100000>