Subject: Re: ACPI suspend support.
To: Jason Thorpe <email@example.com>
From: Hubert Feyrer <firstname.lastname@example.org>
Date: 01/26/2005 18:21:16
On Wed, 26 Jan 2005, Jason Thorpe wrote:
>> How do you sync a disk these days? I have noticed that when using
>> softdeps there can be a LOT of disk activity left after the sync
>> when shutting down. I'd like a way to force everything out to disk,
>> but I don't know how anymore.
> Go through the same motions as downgrading to read-only mount.
I wonder if sync(8) should be fixed to do all that then, given that at
least the manpage claims to write pending data to disk:
sync - force completion of pending disk writes (flush cache)
The sync program can be called to ensure that all disk writes have been
completed before the processor is halted in a way not suitably done by
reboot(8) or halt(8).
I could interpret this as running "sync" would put the system in a state
where I could also suspend it, but obviously that's not the case any
longer, with softdep, and whatever else.
NetBSD - Free AND Open! (And of course secure, portable, yadda yadda)