From owner-freebsd-mobile Mon Feb 12 15:44:46 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 4FA1A37B491 for ; Mon, 12 Feb 2001 15:44:43 -0800 (PST) Received: (qmail 46101 invoked from network); 12 Feb 2001 23:44:41 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 12 Feb 2001 23:44:41 -0000 Received: (qmail 14829 invoked by uid 1101); 12 Feb 2001 23:44:40 -0000 Date: Tue, 13 Feb 2001 00:44:40 +0100 (MET) From: Mikael Hybsch X-Sender: To: Subject: Re: Any ideas on keeping the disk spun down on laptop Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In <200102112211.f1BMBCL23187@ptavv.es.net> you write: >Has anyone looked into making update(4) not do any disk IO when there >have been no changes to metadata? And, is there a way to extend the >update period? Or am I completely off base in my belief that update(4) >is the source of the continuing disk accesses. You need to mount all your partitions with the noatime option. Otherwise the system will try to update the last access time each time some daemon reads a file (even if the file is cached). I also disabled atrun in /etc/crontab and my laptop can now stay real quiet for a long time. (Running atrun in itself doesn't start the disk if all the files are cached, but cron/syslogd would then write a log entry in /var/log/cron every 5 minutes). -- Mikael Hybsch Email: mhybsch@rsasecurity.com RSA Security AB Phone: +46-8-7250900 Box 10704 Fax: +46-8-6494970 S-121 29 STOCKHOLM, SWEDEN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message