diff options
author | Shea Levy <shea@shealevy.com> | 2013-03-08T00·39-0500 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-03-25T18·00+0100 |
commit | 2c9cf5074642459b37f19a2d4c6bc0233248d3a4 (patch) | |
tree | f0d7e719c13a9669ddfe7fa2a26b434c6d45a466 /src/libstore/local-store.hh | |
parent | c3fc60d9369fc802b33f75d2d9cd6ef22b916112 (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 'src/libstore/local-store.hh')
0 files changed, 0 insertions, 0 deletions