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


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to