 Index: src/filed/accurate.c
 ===================================================================
---- src/filed/accurate.c	(revision 7346)
-+++ src/filed/accurate.c	(working copy)
+--- src/filed/accurate.c	(rvision 7351)
++++ src/filed/accurate.c	(copie de travail)
 @@ -32,193 +32,310 @@
  
  #include "bacula.h"

    #include <libintl.h>
Index: src/jcr.h
===================================================================
--- src/jcr.h	(revision 7346)
+++ src/jcr.h	(working copy)
@@ -341,12 +341,7 @@
    CRYPTO_CTX crypto;                 /* Crypto ctx */
    DIRRES* director;                  /* Director resource */

+   dbenv->set_errfile(dbenv, stderr);
+   dbenv->set_errpfx(dbenv, "hash");
+   
+   int flags = DB_PRIVATE | DB_INIT_LOCK | DB_INIT_MPOOL | DB_CREATE | DB_THREAD;
+   if ((ret = dbenv->open(dbenv, working_directory, flags, 0)) != 0) {
+      Jmsg(jcr, M_ERROR, 1, _("Can't open initialize hash disk ERR=%i\n"), ret);
+      dbenv->close(dbenv, 0);
+      dbenv = NULL;
+      return false;
+   }
+
+   dbenv->set_flags(dbenv, DB_TXN_NOSYNC, 1);
+   
+   if ((ret = db_create(&db, dbenv, 0)) != 0) {
+      Jmsg(jcr, M_ERROR, 1, _("Can't open accurate hash disk ERR=%i\n"), ret);
