Sync now, damnit!

John R. Brinkema brinkema at fjc.GOV
Sun May 12 12:22:45 AEST 1991


I know this question has been asked a billion times but ... is there any way
to force the equivalent of an fsync on UNIX V.3 (in particular ISC UNIX 2.2).
If yes, do I have to *open* the file in this mode (I'm thinking of the imple-
mentation of dir) or can I simply grab the fd and have my way?

Right now, I'm writing to a raw file partition, but this is definitly a
kludge.



More information about the Comp.unix.questions mailing list