Brent Fulgham <[EMAIL PROTECTED]> writes:

> Fine, but the problem of synching a known memory object to disk is
> left as an exercise to the reader. :-)  Apt uses msync to force the
> disk image to mirror the state of the package database in memory so
> that a crash or other unforseen problem will not leave the system in
> an unknown or unstable state.

If you know what the file is that the memory object corresponds to,
you can do fsync on it, and that will guarantee what you want.

Reply via email to