Subject: Re: ACPI suspend support.
To: Lennart Augustsson <firstname.lastname@example.org>
From: Daniel Carosone <email@example.com>
Date: 01/26/2005 19:18:40
Content-Type: text/plain; charset=us-ascii
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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)
-----END PGP SIGNATURE-----