From: Erik Mouw <erik@harddisk-recovery.com>
To: Grzegorz Piotr Jaskiewicz <gj@pointblue.com.pl>
Cc: Niccolo Rigacci <niccolo@rigacci.org>, linux-kernel@vger.kernel.org
Subject: Re: 2Gb file size limit on 2.4.24, LVM and ext3?
Date: Fri, 7 May 2004 12:01:42 +0200 [thread overview]
Message-ID: <20040507100142.GA30872@harddisk-recovery.com> (raw)
In-Reply-To: <409AA9EA.9020108@pointblue.com.pl>
On Thu, May 06, 2004 at 10:11:06PM +0100, Grzegorz Piotr Jaskiewicz wrote:
> Niccolo Rigacci wrote:
> >- The partition is an ext3 over LVM, kernel 2.4.24. Debian Woody
> > (glibc-2.2.5-11.5). Pentium 4 2.80GHz.
> >
> >
> Ooops, sorry ;) can see it now.
> afair you need at least 2.3 for large files. But I am not 100% sure.
No, glibc-2.2.5-11.5 will also do large files. Just be sure that you
open() the file with O_LARGEFILE. I usually have this piece of code in
one of my header files to get it done:
#ifndef O_LARGEFILE
#define O_LARGEFILE 0100000
#endif
I always forget about the glibc #define-du-jour to get O_LARGEFILE
defined, this always works.
Erik
--
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
next prev parent reply other threads:[~2004-05-07 10:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 17:21 2Gb file size limit on 2.4.24, LVM and ext3? Niccolo Rigacci
2004-05-06 21:09 ` Grzegorz Piotr Jaskiewicz
2004-05-06 21:11 ` Grzegorz Piotr Jaskiewicz
2004-05-07 10:01 ` Erik Mouw [this message]
2004-05-10 7:40 ` Niccolo Rigacci
2004-05-10 8:17 ` Chris Wedgwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040507100142.GA30872@harddisk-recovery.com \
--to=erik@harddisk-recovery.com \
--cc=gj@pointblue.com.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=niccolo@rigacci.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox