[Mono-list] Handling fsync

Antonello Provenzano antonello at deveel.com
Sat Oct 17 21:35:09 EDT 2009

Hi guys!

As some of you know, recently I finished implementing my project
DeveelDB (http://db.deveel.com), which is a robust RDBMS written in
pure C# language. Despite of the fact almost all the functions are
computed under managed code, I implemented a single P/Invoke call on
Windows, to ensure the buffers of a file are written to the filesystem
directly (FlushFileBuffers), in a fault-tollerant manner.
The equivalent function under Unix/Linux should be fsync, which it
seems not supported by Mono: I found a previous reference to
Mono.Posix.Syscall class, which is marked as obsolete and points to
Mono.Unix.Native.Syscall, which doesn't implement any method to
support 'fsync'.

Could you point me to somewhere where I can find a solution to this issue?

Thank you very much for the support.

More information about the Mono-list mailing list