Mono Class Library: Mono.Posix.Syscall Overview | Members

Mono.Posix.Syscall.sync Method

sync forces "dirty" (modified) filesystem buffers to be written to disk. [Edit]

public static void sync ()

See Also

Mono.Unix.Native.Syscall.sync

Remarks

This member is obsolete. Please use Mono.Unix.Native.Syscall.sync instead.

The filesystem buffer cache is generally write-behind, for best performance. But since the cache is not persistent, it should be flushed periodically. A sync() call is issued by the update daemon periodically.

[Edit]

Requirements

Namespace: Mono.Posix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0