Subject: Re: Question: various bugs in sync()?
To: None <tls@rek.tjls.com>
From: Erik E. Fair <fair@clock.org>
List: tech-kern
Date: 01/15/1999 13:36:43
Sync(2) is not supposed to flush data in the buffer cache that is not
associated with a mounted filesystem - that is supposed to happen when the
block device is closed by the application. However, if you look, you'll
find code to handle tape writes synchronously.

Why would you want to have sync(2) flush non-filesystem data? That's an
application's responsibility.

	confused,

	Erik <fair@clock.org>