From owner-freebsd-mobile@FreeBSD.ORG Tue May 27 13:34:28 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A044137B401 for ; Tue, 27 May 2003 13:34:28 -0700 (PDT) Received: from gilmore.nas.nasa.gov (gilmore.nas.nasa.gov [129.99.33.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32A2343F85 for ; Tue, 27 May 2003 13:34:28 -0700 (PDT) (envelope-from tweten@nas.nasa.gov) Received: from gilmore.nas.nasa.gov (IDENT:VU9scp5T83E6zjXvx8RsahKOSkoZllhg@localhost.nas.nasa.gov [127.0.0.1]) by gilmore.nas.nasa.gov (8.12.9/8.12.9) with ESMTP id h4RKYRFI000758; Tue, 27 May 2003 13:34:27 -0700 (PDT) (envelope-from tweten@gilmore.nas.nasa.gov) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Michael Collette From: Dave Tweten Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 27 May 2003 13:34:27 -0700 Message-ID: <757.1054067667@gilmore.nas.nasa.gov> Sender: tweten@nas.nasa.gov cc: FreeBSD Mailing Lists Subject: Re: When do files syncronize? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David.E.Tweten@nasa.gov List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 20:34:28 -0000 metrol@metrol.net said: >Is there some way to force outstanding writes to clear their buffers >before I put this box into sleep mode? You don't really want sleep mode, you want hibernation. I don'think either sleep or hibernation flushes buffers. Sleep just reduces, but does not eliminate power consumption. Hibernation tells the OS it's going to sleep, then copies the state of the processor and memory to disk, and finally turns off the power. When you next power up, the BIOS restores processor and memory state and tells the OS to wake up. To use hibernation, you'll have to get hold of the stand-alone program from IBM that creates a hibernation slice for you. That slice will be slightly larger than the amount of memory you have installed in your machine. If you're planning for the possibility of a memory upgrade eventually, it allows you to specify a larger amount of space to use. I got my copy at http://www.pc.ibm.com/qtechinfo/MIGR-4PESMK.html It has worked beautifully on both a ThinkPad X21 and on a few T23s. Unfortunately, Win2k insists upon using its own hibernation file, rather than using a hibernation partition (oops, slice) if one is available. That wastes space on dual-boot machines. Fortunately, T23s have a lot of disk space to waste. You really want to hibernate -- not sleep. Good luck! -- M/S 258-5 |1024-bit PGP fingerprint:|tweten@nas.nasa.gov NASA Ames Research Center | 41 B0 89 0A 8F 94 6C 59| (650) 604-4416 Moffett Field, CA 94035-1000| 7C 80 10 20 25 C7 2F E6|FAX: (650) 604-4377 We each earn what freedom of speech we defend for those who most offend us.