about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-01-29T12·22+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-01-29T12·22+0000
commit07ffdc28629e537c3811f86b83a93655b73909ec (patch)
tree36b10bdd8ab47d4d0098248206a87ed64b3deb28 /doc/manual
parentad529fb89fb34bea9762eccfc9c2ee6f1f2865c0 (diff)
* Added an option "fsync-metadata" to fsync() changes to
  /nix/var/nix/db.
* Removed the function writeStringToFile since it does (almost) the
  same thing as writeFile.

Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/conf-file.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml
index 66df3edd5f..2ee2680970 100644
--- a/doc/manual/conf-file.xml
+++ b/doc/manual/conf-file.xml
@@ -233,7 +233,17 @@ build-use-chroot = /dev /proc /bin</programlisting>
     <filename>configure</filename> at build time.</para></listitem>
 
   </varlistentry>
-  
+
+
+  <varlistentry><term><literal>fsync-metadata</literal></term>
+
+    <listitem><para>If set to <literal>true</literal>, changes to the
+    Nix store metadata (in <filename>/nix/var/nix/db</filename>) are
+    synchronously flushed to disk.  This improves robustness in case
+    of system crashes, but reduces performance.  The default is
+    <literal>false</literal>.</para></listitem>
+
+  </varlistentry>
     
 </variablelist>