Hi all,

I have my /nix/store on a separate filesystem.
It seems that because of this, the new read-only store functionality
does not work.

In stage-2-init.sh (line 53):
if [ -n "@readOnlyStore@" ]; then
    if ! mountpoint -q /nix/store; then
        mount --bind /nix/store /nix/store
        mount -o remount,ro,bind /nix/store
    fi
fi


mountpoint -q will return successfully in my case and skip setting up
the read-only stuff.

Why is this check there?
Is there a reason not to use this functionality when a mountpoint (store
on other fs) is detected?

Thanks,
Mathijs
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to