[Mono-list] Handling fsync

Antonello Provenzano antonello at deveel.com
Sat Oct 17 21:50:27 EDT 2009


My father used to say that "before asking a question you should know
the answer"... :P

I'm sorry for the previous message: I checked out better documentation
and I found what I was looking for. I hope it will work, but at least
now I know where to look for.

Thank you all for ignoring the previous request.


On Sun, Oct 18, 2009 at 3:35 AM, Antonello Provenzano
<antonello at deveel.com> wrote:
> 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.
> Antonello

More information about the Mono-list mailing list