Skip to content
Snippets Groups Projects
Commit 2c9cf507 authored by Shea Levy's avatar Shea Levy Committed by Eelco Dolstra
Browse files

makeStoreWritable: Use statvfs instead of /proc/self/mountinfo to find out if...

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: default avatarShea Levy <shea@shealevy.com>
parent c3fc60d9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment