From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <17a3d1529f134ae20d52a1f0c4dd2252.axp-list@archive.invalid> X-Archive-Original-Message-ID: <9611041302.AA00548@scooter> Date: Mon, 4 Nov 1996 08:02:36 -0500 (EST) From: Jim Nance Subject: 64 Bits from Larry McVoy Forwarded message: > Linux is 64 bit in that the types are right. Linux is not 64 bit in that > the file systems don't support >32 bit offsets (something that wouldn't > be hard to fix, sounds like a version number on ext2fs). Well Larry, I was almost sure you were wrong, so I wrote the following test program. Unfortunatly, I did manage to tickle enough linux bugs so that you can claim you are right :-) So instead of claiming victory, I will submit a bug report :-( For those intrested in reproducing this, I am running Redhat 4.0 with redhats kernel, and the partition I am working contains an 800MB ext2 file system. Here is the program. It tries to make a large sparse file: #include #include #include #include #include #define GB ((long)(1024*1024*1024)/2) #define NG (20L) int main() { off_t offset; int fd = open("bigfile", O_CREAT|O_TRUNC|O_WRONLY); if(fd<0) {perror("open:"); exit(1);} for(offset=0; offset