[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto implement device detection without thrashing



Previously Andrew Pimlott wrote:
> On Thu, Mar 18, 1999 at 01:50:29AM +0100, Wichert Akkerman wrote:
> > Doesn't work, you can only sync everything with Linux, not a single
> > device or a single file.
> 
> open(... | O_SYNC);

This is slightly different in that you don't sync a file, but tell
the system to do all operations synchronously, ie sync on every
operation. But for this it indeed works.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpSKMeDUJKp4.pgp
Description: PGP signature


Reply to: