Gentoo Archives: gentoo-dev

From: James Holden <gentoo@×××××××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Large File Support
Date: Mon, 09 Aug 2004 18:09:04
Message-Id: 4117BDB3.4090303@jamesholden.net
In Reply to: Re: [gentoo-dev] Large File Support by Jason Cooper
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Jason Cooper wrote:
5 | James Holden (gentoo@×××××××××××.net) scribbled:
6 |
7 |>I'm having some problems with large file support on my Sparc64 Gentoo box.
8 |>
9 |>I have some >2GB DVD images on my box, which I copied off my other
10 |>machine (running IRIX) over NFS so I know kernel support for large files
11 |>is working.
12 |>
13 |>I'm trying to get the Debian testing DVD images using net-misc/jigdo,
14 |>but when it creates the temporary image file it wimps out at 2GB,
15 |>complaining about "File size limit exceeded".
16 |>
17 |>I've rebuilt net-misc/jigdo with -D_FILE_OFFSET_BITS=64
18 |>- -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE in CFLAGS, but I still get the
19 |>error.
20 |
21 |
22 | Did you check in the source to see that those flags actually change
23 | something, eg fopen() calls should add the O_LARGEFILE flag...
24 |
25 | Do other programs work with files >2GB?
26
27 Well, 'cp' worked, when I grabbed another very large (4.3GB) .iso off
28 another box via NFS. 'dvdrecord' works too because I can burn them to DVD-R.
29
30 Having checked the source, there's a couple of lines that reference a
31 flag called O_LARGEFILE, but their meaning is a little unclear to my
32 non-C++ hacker self.
33
34 I'll try setting -DO_LARGEFILE and see what happens.
35
36 Thanks for the pointer.
37
38 James
39
40
41
42
43 - --
44 James Andrew Holden, Leeds, UK (james at jamesholden dot net)
45 GPG Key: 1024D/8358863A *Please encrypt mail where possible!*
46 Fingerprint: 32C9 A76F 3CFE A06C 1B00 5AAB 9877 4742 8358 863A
47 jamesholden.net ICQ: 11290827 >Buy Linux CDs from fastdiscs.com<
48 -----BEGIN PGP SIGNATURE-----
49 Version: GnuPG v1.2.3 (GNU/Linux)
50 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
51
52 iD8DBQFBF72zmHdHQoNYhjoRAiZKAJ9uNwBevo0ajxHq1VSDv75PVyaJ1QCgu1NE
53 1jpg3CKtKYcm89S4gn02hEI=
54 =TZBS
55 -----END PGP SIGNATURE-----
56
57 --
58 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Large File Support Jason Cooper <gentoo@××××××××××.net>