[Nix-dev] Re: [Nix-commits] SVN commit: nix - 13641 - eelco - nix/trunk/src/libstore

Eelco Dolstra e.dolstra at tudelft.nl
Wed Dec 17 12:50:59 CET 2008


Hi,

Ludovic Courtès wrote:

>>          chrootRootDir = drvPath + ".chroot";
>> +        if (pathExists(chrootRootDir)) deletePath(chrootRootDir);
> 
> Does `deletePath ()' follow bind mounts?  Is there any risk like that?

No, that's the beauty of using per-process namespaces: the bind-mounts are only
ever visible in the builder process and its children.

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/



More information about the nix-dev mailing list