>> What is the maximum file size on a normal Red Hat setup these days? 
>> (i.e. on 7.2 or 7.3 using ext3) I seem to remember hitting the roof at 
>> 2Gb in the past, but (fortunately) it looks like I can create files 
>> larger than that now.
> That's not quite true. I can create files larger than 2Gb, or 4Gb for 
> that matter, using
> 
> dd if=/dev/zero of=... count=...
> 
> but whith open() + write() in a C program I get
> 
> Filesize limit exceeded (core dumped)
> 
> after 2Gb is written.  O_LARGEFILE on open() seems to make no difference.
Not quite true (minor error in the code when testing ;-/) - O_LARGEFILE 
does make a difference. Which doesn't help as much as you'd hope, since 
what I really want is to create >2Gb files with libtiff, which doesn't 
appear to pass the appropriate flag on open...

- T



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to