Subject: Re: ACPI suspend support.
To: Jason Thorpe <thorpej@shagadelic.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 01/26/2005 12:02:20
In message <B1627EDF-6FBA-11D9-A9B7-000A95D9FA58@shagadelic.org>, Jason Thorpe 
writes:
>
>On Jan 26, 2005, at 12:10 AM, Lennart Augustsson 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 don't follow -- is there a command that does this, short of
'mount -u -r /filesys'?  Is there a system call such a command could 
invoke?

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb