about summary refs log tree commit diff
path: root/tests/hash-check.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-03-08T00·39-0500
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-03-25T18·00+0100
commit2c9cf5074642459b37f19a2d4c6bc0233248d3a4 (patch)
treef0d7e719c13a9669ddfe7fa2a26b434c6d45a466 /tests/hash-check.nix
parentc3fc60d9369fc802b33f75d2d9cd6ef22b916112 (diff)
makeStoreWritable: Use statvfs instead of /proc/self/mountinfo to find out if /nix/store is a read-only bind mount
/nix/store could be a read-only bind mount even if it is / in its own filesystem, so checking the 4th field in mountinfo is insufficient.

Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'tests/hash-check.nix')
0 files changed, 0 insertions, 0 deletions