Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 1998 16:48:59 +0200
From:      Andreas Klemm <andreas@klemm.gtn.com>
To:        Brandon Lockhart <brandon@engulf.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: engulf weekly run output (fwd)
Message-ID:  <19980718164859.B13033@klemm.gtn.com>
In-Reply-To: <Pine.BSF.3.96.980718071155.7716D-100000@engulf.net>; from Brandon Lockhart on Sat, Jul 18, 1998 at 07:13:05AM -0400
References:  <Pine.BSF.3.96.980718071155.7716D-100000@engulf.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 18, 1998 at 07:13:05AM -0400, Brandon Lockhart wrote:
> Running weekly.local:
> Sat Jul 18 03:33:06 EDT 1998
> Sat Jul 18 03:58:54 EDT 1998
> 
> # /etc/weekly.local
> date
> cd /usr/src/
> make world 1>/dev/null 2>/dev/null
> date
> That seems awful fast to Make the source, what am I missing here?!?

Looks good. You could also write this as:
	make world > /dev/null 2>&1

Instead of this I'd also do it this way:
- put it into your root's crontab, so that your weekly script 
  doesn't contain too much overhead,
- do a 
  	( cd /usr/src; date; make buildworld > /usr/src/world.log 2>&1; date )
	or
  	( cd /usr/src; date; make buildworld; date )
	Then you also get the result as mail on a daily or weekly basis
- if a make buildworld was completely successfull, then I'd do a
  	make installworld
	manually in single user mode and then reboot

-- 
Andreas Klemm                                http://www.FreeBSD.ORG/~andreas
     What gives you 90% more speed, for example, in kernel compilation ?
          http://www.FreeBSD.ORG/~fsmp/SMP/akgraph-a/graph1.html
             "NT = Not Today" (Maggie Biggs)      ``powered by FreeBSD SMP''

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980718164859.B13033>