Support of files/raw partitions > 4Gb
rra at stanford.edu
Tue Feb 6 17:50:00 UTC 2007
Kirill Berezin <kyb at online.ru> writes:
> I am talking about both cnfs and buffindexed buffers. CNFS seems
> working fine with 64 bit offset. But buffindexed method requires a
> little change to support a correct reading of buffers' length over 4 Gb.
> Constant at line 316 of buffindexed.c must have an explicit type
> len = strtoul(l, NULL, 10) * 1024; /* This value in KB in decimal */
> ^ must be `(off_t)1024`
Yeah, this is definitely broken and I'll fix this.
> But I'm not sure about a correct work of buffindexed method with raw
> partition about 13Gb .
If you notice any other problems, please do let us know. I fear that
buffindexed has not received a lot of attention lately, but I'm happy to
apply bug fixes (whenever I can find the time to work on INN, which
admittedly has been a huge problem lately).
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers