From 07ffdc28629e537c3811f86b83a93655b73909ec Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 29 Jan 2010 12:22:58 +0000 Subject: * 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. --- doc/manual/conf-file.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manual/conf-file.xml b/doc/manual/conf-file.xml index 66df3edd5fb8..2ee268097066 100644 --- a/doc/manual/conf-file.xml +++ b/doc/manual/conf-file.xml @@ -233,7 +233,17 @@ build-use-chroot = /dev /proc /bin configure at build time. - + + + fsync-metadata + + If set to true, changes to the + Nix store metadata (in /nix/var/nix/db) are + synchronously flushed to disk. This improves robustness in case + of system crashes, but reduces performance. The default is + false. + + -- cgit 1.4.1