lkml.org 
[lkml]   [2000]   [Feb]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: lfs (>2GB) under 2.3.47
From
Date
>>>>> Ben LaHaise writes:

Ben> On Sun, 27 Feb 2000, ethan mindlace fremen wrote:
>> I have compiled and installed kernel 2.3.47 on my Debian frozen (potato)
>> box.
>> It works successfully. I need to use files in excess of 2GB, which
>> should be supported as far as I can glean.

>> Is there anything I can or need to do (no matter how experimental) to
>> get large files working?

Ben> Add the appropriate define of __USE_LARGEFILE64 or __USE_FILE_OFFSET64
Ben> (see /usr/include/features.h) -- try-lfs.c probably doesn't.

The defines are:
_LARGEFILE_SOURCE Some more functions for correct standard I/O.
_LARGEFILE64_SOURCE Additional functionality from LFS for large files.
_FILE_OFFSET_BITS=N Select default filesystem interface.

__USE_ is internal - you can't set it from your application - and if
you do, you might not get what you like.

Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site