From owner-freebsd-mobile Sun Feb 11 16: 1:36 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from spock.org (cm-24-169-11-24.nycap.rr.com [24.169.11.24]) by hub.freebsd.org (Postfix) with ESMTP id 424F337B401 for ; Sun, 11 Feb 2001 16:01:33 -0800 (PST) Received: (from jon@localhost) by spock.org serial EF600Q3T-B7F; Sun, 11 Feb 2001 19:01:17 -0500 (EST) (envelope-from jon) Date: Sun, 11 Feb 2001 19:01:17 -0500 From: Jonathan Chen To: Kevin Oberman Cc: mobile@FreeBSD.ORG Subject: Re: Any ideas on keeping the disk spun down on laptop Message-ID: <20010211190117.A1648@spock.org> References: <200102112211.f1BMBCL23187@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: telnet/1.1x In-Reply-To: <200102112211.f1BMBCL23187@ptavv.es.net>; from oberman@es.net on Sun, Feb 11, 2001 at 02:11:12PM -0800 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Feb 11, 2001 at 02:11:12PM -0800, Kevin Oberman wrote: > One annoyance I have with FreeBSD on my laptop is that the disk will > spin up on a frequent basis, even when the system seems completely > idle. I suspect that this is the result of update(4). This is usually the result of cron and/or syslogd. Cron runs "atrun" every couple of minutes and syslog logs the event to disk. If you don't care for cron or logging, you can kill off those daemons. Alternatively, configure syslog to log only to a tty (which is what I do). I was able to get my laptop's disk to completely spin down for quite a while doing this. (yes, I run softupdates too) > The man page claims that I can extend the period between updates with > sysctl kern.update. But, when I try a "sysctl kern.update", I get a > response of: > sysctl: unknown oid 'kern.update' kern.update doesn't exist when you run softupdates. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message