Re: [Nix-dev] Re: [Nix-commits] SVN commit: nix - 15436 - raskin - nix/trunk/src/libutil

2009-05-06 Thread Michael Raskin
Eelco Dolstra wrote: >> 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-a

[Nix-dev] Re: [Nix-commits] SVN commit: nix - 15436 - raskin - nix/trunk/src/libutil

2009-05-06 Thread Eelco Dolstra
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 FS