<div class="gmail_quote">On Fri, Feb 12, 2010 at 1:08 PM, Sebastian Andrzej Siewior <span dir="ltr"><sebastian@breakpoint.cc></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
fallocate() is linux specific and will preallocate the space on disk for<br>
the entire file.<br></blockquote></div><div><br></div>Check out the preallocate.diff in the rsync patches -- it adds an option that lets you choose to preallocate (you can browse the patches on the web if you click on one of the "tree view" links on the download page of the rsync website). The --preallocate option will probably be added to 3.1.0 soon -- I think the patch is in good shape now.<div>
<div><br>..wayne..<br>
</div></div>