Operating System - HP-UX
1751894 Members
4736 Online
108783 Solutions
New Discussion

Re: 32 bits API to write over 2 GB

 
Takeshi Sugai
Advisor

32 bits API to write over 2 GB

Does anyone know that 32 bits API is OK to write over 2GB
Our machine mount method is largesizes.
Our Environment is L-server HP-UX 11.0 with ACE 11/99.

I understand it depends on function, But does anyone have experience that to write over 2GB file and the Kernel say something error.

Thank you for any help...
-Takeshi
1 REPLY 1
John Palmer
Honored Contributor

Re: 32 bits API to write over 2 GB

Yes it is ok, have a look at the Large Files White Paper /usr/share/doc/lg_files.txt.

Lots of 32 bit utilities like fbackup for instance handle largefiles.

One problem that you can encounter though is the restriction imposed by 'ulimit'. Checkout 'man sh-posix' and search for 'ulimit'.