How to Turn On Large File Support on HP/UX -- Posted by inturi on Wednesday, January 23 2008
A file larger than 2GB is called large file on HP/UX UFS. Handle large file is different from handle file size under 2GB.
First, user needs to turn on the large file support on the file system:
fsadm -F hfs -o largefiles /dev/you_fs_entry
To write a program to handle large file, you will need to use this flag in your open() system call: O_LARGEFILE, if you are writing from user space, use k_off_t instead of unsigned long if you are reading or writing from within the kernel.

[Edit] Home
If this information is helpful to you then please click here and post one simple tip that you know. Share your knowledge!