Re: Error "fatal: cannot pread pack file: Success"
- From
Nicolas Pitre <nico@cam.org>
- Date
- Feb 28, 2007, 18:18 UTC
- Message-ID
- <alpine.LRH.0.82.0702281315480.29426@xanadu.home>
- In-Reply-To
- <Pine.LNX.4.64.0702280910330.12485@woody.linux-foundation.org>
On Wed, 28 Feb 2007, Linus Torvalds wrote:
Show 5 quoted lines
> Well, if the return value was 0, it wasn't as odd any more, and the reason > seems to be a file truncate error. Shawn seems to be on that one. > > (The "return 305 when asked for 207" seemed like a kernel bug, which was > why I got really interested ;)
I wouldn't dismiss a kernel bug just yet.
Bill already said the same operation, when not performed over NFS, works just fine.
He also mentioned that version 1.4.4, which uses mmap() instead of pread(), works also fine even over NFS.
Nicolas