Re: Large files & XFS & glibc-2.1.3
In article <[EMAIL PROTECTED]>, Petr Linke <[EMAIL PROTECTED]> wrote: >Hi, >I open again the problem, which was here discussed. > >Description of problem: >System Debian 2.2, glibc 2.1.3, >kernel 2.4.17 patched for XFS (journaling 64bit filesystem from SGI) > >On XFS I can make large files ( >2GB ) You can do that on ext2 and ext3 as well, with the 2.4 kernels. >but I have problem with >manipulating with these large files. I cannot delete them, nor copy, nor >list ... - I receive message "Value too large for defined data type". >The problem is I thing in glibc-2.1.3, which is distributed with Debian2.2. >I recompile the glibc from sources with defined values: >_LARGEFILE_SOURCE >_FILE_OFFSET_BITS=64 >which is necessary for supporting large files, but after installing this >new recompiled glibc I have the same problems, which I reported ... That is because all the tools have to be recompiled as well. Your best bet is to upgrade to 'woody' (the codename for the next release) which is 2.4 and LFS ready. >Has anybody any idea? Answer please cc to me. Can't do that, reading this through a mail2news gateway. Mike. -- Computers are useless, they only give answers. --Pablo Picasso
Large files & XFS & glibc-2.1.3
Hi, I open again the problem, which was here discussed. Description of problem: System Debian 2.2, glibc 2.1.3, kernel 2.4.17 patched for XFS (journaling 64bit filesystem from SGI) On XFS I can make large files ( >2GB ), but I have problem with manipulating with these large files. I cannot delete them, nor copy, nor list ... - I receive message "Value too large for defined data type". The problem is I thing in glibc-2.1.3, which is distributed with Debian2.2. I recompile the glibc from sources with defined values: _LARGEFILE_SOURCE _FILE_OFFSET_BITS=64 which is necessary for supporting large files, but after installing this new recompiled glibc I have the same problems, which I reported ... Maybe I make some stupid mistake, but I looked into /usr/include/features.h, and defining _LARGEFILE_SOURCE, and _FILE_OFFSET_BIT=64 and recompiling glibc should be sufficient. Has anybody any idea? Answer please cc to me. Thank you, Petr Linke __ Petr Linke tel.: +420-2-71777231 Novicom s.r.o. FAX.: +420-2-71777233 Konevova 67, Praha 3 [EMAIL PROTECTED]