From owner-freebsd-questions@FreeBSD.ORG Fri Nov 13 22:48:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B23B106566B for ; Fri, 13 Nov 2009 22:48:25 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 61DD88FC0A for ; Fri, 13 Nov 2009 22:48:25 +0000 (UTC) Received: by pwj15 with SMTP id 15so2470853pwj.3 for ; Fri, 13 Nov 2009 14:48:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ePsdwgU5JC2XaAx3clChfZKTIB3hTudZCLsoA+mecIE=; b=AY/6fgXfR43KQtyy9/Tfe2i4LdRCWZYnDjB73Np+8U8E/HWH7CqdYT8qkWxIf+NHpF b2nRQ5DiTbQm1dfbX3PTdk1b8RVfkUFbGp1Yzp1b1h1uTBIFKdYPI+D9CTja+vA6OJz8 9lWMaevhn9CYhwaFsgqZi/aaA8gv7VJhxh8rs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lj8swhhM/UMhLQLgk9l11Yia48GGVQDO0C9eTHJaPECvivYKaPFBzVysAA4dt+cid9 6k/0Cjakeg+G1dtecKKfnlt15Tvr6lm0zO8vxRRSlUsmGCbfe1iN5xVh4qG2X3+els0c uHYkOjGC5zi+McdD3sTQpADJiuwR8Hy0Ej7mo= MIME-Version: 1.0 Received: by 10.142.59.20 with SMTP id h20mr500354wfa.279.1258152504795; Fri, 13 Nov 2009 14:48:24 -0800 (PST) In-Reply-To: References: <474730.92984.qm@web65506.mail.ac4.yahoo.com> Date: Fri, 13 Nov 2009 15:48:24 -0700 Message-ID: <2daa8b4e0911131448h3444444ag67ad05bbbf7df60@mail.gmail.com> From: David Allen To: Chuck Swiger Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, James Phillips Subject: Re: APM X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2009 22:48:25 -0000 On 11/13/09, Chuck Swiger wrote: > Hi-- > > On Nov 13, 2009, at 12:15 PM, James Phillips wrote: >> I initially set the time-out to 60 seconds, then 300 seconds in a >> vain attempt to see the actual power savings. With a 900 second time- >> out, the drive only spun down once in the past 12 hours. >> >> It appears that syslogd can defer *one* log entry. Understandable, >> since you don't want to loose too many logs in a power failure. > > One of the first things you should consider is either disabling > syslogd entirely, or else setup logging to a RAMdisk (ie, have an > initial copy of what's in /var on the hard disk, setup a RAMdisk and > mount as /var, then copy over the /var tree from hard drive to RAMdisk > during early stages of system boot). There are options available in /etc/defaults/rc.conf to do just that, but how does one copy over the contents of /var at system boot?