Open Source Desktop Environment : LargeFiles

HomePage :: Categories :: PageIndex :: RecentChanges


Search this site: OSDE.INFO is produced by "osde8info" :

Revision [1086]

Most recent edit made on 2008-10-01 11:35:32 by OsdeInfo

Additions:
For example the default unzip program supplied with Red Hat 3 & 4 and CentOS 3 & 4 do not seem to be compiled with these flags

REFERRERS
FileSystem
TarUnzip


Deletions:
For example the default unzip supplied with CentOS 3 and CentOS does not seem to be compiled with these flags




Revision [539]

Edited on 2006-06-21 11:05:21 by WikkaWiki (unregistered user)

Additions:
For example the default unzip supplied with CentOS 3 and CentOS does not seem to be compiled with these flags
HowToUnzipLargeFiles




Revision [538]

Edited on 2006-06-21 10:17:20 by WikkaWiki (unregistered user)

Additions:

  1. the program is compiled with gcc -D_GNU_SOURCE -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64


Deletions:

  1. the program is compiled with gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64




Revision [537]

The oldest known version of this page was edited on 2006-06-21 10:08:44 by WikkaWiki (unregistered user)
http://www.kjemi.uio.no/software/dalton/resources/LFS-description.php

Large Files

In order to be able to work with large (>2Gb) files under Linux any program needs the following:
  1. The Linux kernel 2.4.x.
  2. The C system library glibc 2.x.

In principle, having the above kernel and glibc should allow C programs to work with LFS.

Before recompiling any C programs make sure that:
  1. the program #includes <stdio.h> and <unistd.h>
  2. any variables used to hold the file offset values are of the type off_t or fpos_t (neither int nor long)
  3. the program uses fseeko and ftello instead of fseek and ftell
  4. the program is compiled with gcc -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0257 seconds