Subject: Re: ACPI suspend support.
To: Lennart Augustsson <>
From: Daniel Carosone <>
List: tech-kern
Date: 01/26/2005 19:18:40
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jan 26, 2005 at 09:10:10AM +0100, 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. =20

That's not actually softdeps, its all the atime updates for inodes
that haven't otherwise been changed.  These days, such inodes are only
written when the vnode is reclaimed.

> I'd like a way to force everything out to disk,
> but I don't know how anymore.

There's no 'official' way to do it, it would be nice to have one.  I
found what appears to be at least a partial hack/workaround recently:

 # cd /home
 # umount /home

This seems to busy the disk for some time, then fails with EBUSY.


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.4.0 (NetBSD)