Michael Raskin wrote:

> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=15436&view=rev
> 
> Modified:
>    nix/trunk/src/libutil/archive.cc
>    nix/trunk/src/libutil/archive.hh
> 
> Log:
> Add an ftruncate call paired with fallocate to play safe with  some FSes 
> (namely, BtrFS fallocate sets file size to allocated size, i.e. multiple of 
> block size)

That seems like a fairly large bug in BtrFS...

(And should we have workarounds for bugs in pre-alpha filesystems?)

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to