Date: Tue, 27 May 2003 13:34:27 -0700 From: Dave Tweten <tweten@nas.nasa.gov> To: Michael Collette <metrol@metrol.net> Cc: FreeBSD Mailing Lists <freebsd-mobile@freebsd.org> Subject: Re: When do files syncronize? Message-ID: <757.1054067667@gilmore.nas.nasa.gov>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?757.1054067667>