[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Write changed immediately to disk

On 18/02/2008, ml@bortal.de <ml@bortal.de> wrote:
> Hi,
> Howard Chu schrieb:
> > ml@bortal.de wrote:
> >> Hello List,
> >>
> >> what settings do i need to write my ldap changes (almost) immedialtely
> >> to disk?
> >> I do not need much of performance but would rather have a higher
> >> security.
> >
> > That is the default behavior for slapd, no other settings are needed.
> >
> In my case i add a samba user to my ldap DB, then after 15 seconds i
> reset that box by pressing the reset button.
> After the box has rebootet the added user is not there anymore.
> So i am not quite sure if its really writing to disk streight away.

Maybe this will guide you towards some answers:

man sync
(and more under "info sync")

A small utility that "exercises the sync system call".

> Thanks, Mario