Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

LSEEK and large files in Scyld (follow-up)

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Sean Dilda agrajag at scyld.com
Wed Oct 17 11:53:01 PDT 2001


On Wed, 17 Oct 2001, Peter Lindgren wrote:

> Some additional data related to my last message:
> 
> When run on Scyld "Basic Edition", my lseek consistently returns -1, no matter what particular beyond-2-gig offset I try.
> 
> (On the LinuxCentral version, it returns a *different* large negative number depending on what beyond-2-gig offset I try.)

What are the exact versions you're using?  Each release should have a
version number such as 27bz-6, 27bz-7, or 27bz-8 (or 27cz-8 if you
bought the professional edition).

For the one where it returns -1, can you check the errno value based on
the possible values listed in 'man lseek' ?

For the one where you get different large negative numbers, what are you
using to give you the number?  If you're using printf, make sure you are
using %lld instead of %d.   %d assumes its a 4-byte int, %lld will treat
it as 8 bytes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.scyld.com/pipermail/beowulf/attachments/20011017/0df08a98/attachment.bin


More information about the Beowulf mailing list