From owner-freebsd-questions Sat Jul 6 23:11:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA01322 for questions-outgoing; Sat, 6 Jul 1996 23:11:20 -0700 (PDT) Received: from ime.net (ime.net [204.97.248.4]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA01317 for ; Sat, 6 Jul 1996 23:11:15 -0700 (PDT) Received: from kimiko.tcguy.net (buxton-4.ime.net [206.231.148.133]) by ime.net (8.7.4/8.6.12) with SMTP id CAA04642; Sun, 7 Jul 1996 02:11:10 -0400 (EDT) Message-ID: <31DF553C.677A@ime.net> Date: Sun, 07 Jul 1996 02:12:12 -0400 From: Gary Chrysler Reply-To: tcg@ime.net Organization: The Computer Guy X-Mailer: Mozilla 3.0b4Gold (Win95; I) MIME-Version: 1.0 To: James Raynard CC: questions@freebsd.org Subject: Re: makeing world References: <199607061358.NAA01105@jraynard.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk James Raynard wrote: > > > I read someplace that it's best to drop into single user mode > > to make world, Is this fact? > > I suppose it is - you have the system (and all its resources) to > yourself, and you avoid potential "sawing off the branch you're > sitting on" problems when it starts re-installing things. > > (Although I have successfully made the world in multi-user mode > without any apparent problems). > I can see the advantages to going single user. > > 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) > > If you got > > Syntax error: "&" unexpected > > this is because sh is the default shell for single-user mode and it > doesn't understand C shell syntax. Either do > > (make world | tee make.err) & > > or just enter "csh" when it asks you which shell to use (instead of > pressing the return key, which is presumably what you're doing now). > Yes, That was more then likly it.. Thanks James! I'm learning, Slow but sure.. :) > > 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. > > Any clues in /var/log/messages? Nope, Nothing.. I looked even though I didn't think make writes anything to log/messages. Although After reinstalling (to get me source tree back.. :) It did complete (sucessfully????) in single user. I didn't log it for the Above (csh/sh) reason. I'll be rebuilding again within the next day or so, This was a test before spending a bunch of time on my source.. :) Now that I know it at least completes I'll make my changes and rebuild with a pipe to a log. Thanks for the knowledge. :) -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848