lix/src/libstore
Eelco Dolstra b9124a5c33 Support having /nix/store as a read-only bind mount
It turns out that the immutable bit doesn't work all that well.  A
better way is to make the entire Nix store a read-only bind mount,
i.e. by doing

  $ mount --bind /nix/store /nix/store
  $ mount -o remount,ro,bind /nix/store

(This would typically done in an early boot script, before anything
from /nix/store is used.)

Since Nix needs to be able to write to the Nix store, it now detects
if /nix/store is a read-only bind mount and then makes it writable in
a private mount namespace.
2012-09-19 15:45:29 -04:00
..
build.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
derivations.cc Refactor settings processing 2012-07-30 19:55:41 -04:00
derivations.hh Include config.h before any other header 2012-09-11 14:45:42 -04:00
gc.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
globals.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
globals.hh Pass all --option flags to the daemon 2012-07-31 18:19:44 -04:00
local-store.cc Support having /nix/store as a read-only bind mount 2012-09-19 15:45:29 -04:00
local-store.hh Support having /nix/store as a read-only bind mount 2012-09-19 15:45:29 -04:00
Makefile.am Compress build logs on the fly using bzip2 2012-05-30 10:12:29 -04:00
misc.cc Refactor settings processing 2012-07-30 19:55:41 -04:00
misc.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
optimise-store.cc Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
pathlocks.cc Set the close-on-exec flag on file descriptors 2012-03-05 20:29:00 +01:00
pathlocks.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
references.cc Use data() instead of c_str() where appropriate 2012-02-09 18:27:45 +01:00
references.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
remote-store.cc RemoteStore::connectToDaemon(): Set close-on-exec flag 2012-09-13 14:46:37 -04:00
remote-store.hh Merge branch 'master' into no-manifests 2012-07-26 15:14:33 -04:00
schema.sql * Store the size of a store path in the database (to be precise, the 2010-11-16 17:11:46 +00:00
store-api.cc Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
store-api.hh Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
worker-protocol.hh Whitespace 2012-07-30 17:13:25 -04:00