[Nix-dev] [PATCH] Allow roots to refer to arbitrary files in the store

Vladimír Čunát vcunat at gmail.com
Tue Apr 15 15:24:03 CEST 2014


On 04/14/2014 04:59 PM, Ludovic Courtès wrote:
> It also guarantees that this thing lives on the same file system as the
> store, which means that rename(2) can be used to move it to its final
> location in the store.

I don't think we should *force* nix to have temporary files on the same 
FS as store. For some use cases it's better e.g. to have TMP in RAM, etc.

As for moving to final destination, I would go for a compromise of "cp 
--reflink=auto", as it will transparently be fast if on the same FS (and 
it supports reflinks, which is unfortunately quite a strict requirement).


Vlada


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140415/7be93379/attachment-0001.bin 


More information about the nix-dev mailing list