[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: problems using large file systems



On Nov 13, 2003  16:29 -0800, amitm atvideo com wrote:
> I have a intel box running redhat 8.I am trying to use large file 
> support in ext3 but have hit the following snag.
> I have a file that was created using lfs :
> 
> rw-r--r--    1 amitm    amitm    2147491330 Nov 13 10:16 
> /home/amitm/storage/cam_n2_q1/atvdatacam_n2_q1.dat
> 
> I write a simple program to do the basic file I/O but I hit a snag doing 
> the seek.
> 
> int main(void)
> {
>     int fd;
>     int result;
> 
>     fd = 
> open("/home/amitm/storage/cam_n2_q1/atvdatacam_n2_q1.dat",O_RDONLY);

O_LARGEFILE

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]