shutil.copyfile is incomplete (truncated)
Roy Smith
roy at panix.com
Fri Apr 12 10:54:34 EDT 2013
In article <mailman.510.1365755188.3114.python-list at python.org>,
Cameron Simpson <cs at zip.com.au> wrote:
> 45046 is exactly 11 * 4096. I'd say your I/O is using 4KB blocks,
> and the last partial block (to make it up to 47970) didn't get
> written (at the OS level).
Yeah, this sounds like a good diagnosis.
BTW, the dtruss command I recommended in my earlier post would confirm
this. But, to be honest, it's such a likely scenario that it hardly
needs confirmation.
More information about the Python-list
mailing list