From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2580 invoked from network); 25 May 1999 21:31:12 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 25 May 1999 21:31:12 -0000 Received: from ellpspace.math.ualberta.ca (michal@ellpspace.math.ualberta.ca [129.128.88.19]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id QAA13297 for ; Tue, 25 May 1999 16:49:24 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.8.8/8.8.8) id OAA12032 for axp-list@redhat.com; Tue, 25 May 1999 14:49:19 -0600 From: Michal Jaegermann Message-Id: <199905252049.OAA12032@ellpspace.math.ualberta.ca> Subject: Re: Adding more than 8 swap partitions To: axp-list@redhat.com Date: Tue, 25 May 1999 14:49:19 -0600 (MDT) In-Reply-To: <374AFC56.EC206FB8@paralleldata.com> from "Wes Bauske" at May 25, 99 02:39:02 pm Content-Type: text Wes Bauske wrote: > > Uncle George wrote: > > > > ANYBODY out there can create a file >2gig on linux/alpha ? > > Sure. > > -rw-r--r-- 1 wsb pds 15039538080 May 16 23:01 junk > > Just having troubles lseek()'ing into it past 2GB. How about using ext2fs_llseek()?. From /usr/include/ext2fs/ext2_io.h: /* llseek.c */ ext2_loff_t ext2fs_llseek (int, ext2_loff_t, int); The header is a part of e2fsprogs-devel package and, presumably, a library which supplies this function belongs there as well. BTW - manpage for llseek, at least for RH 5.2 distribution, is obviously out of sync with headers. > Still testing though so hopefully I can determine if it's > something I did wrong, or glibc/kernel. My bet would be on glibc (1/2 :-). Michal