[SunHELP] 2GB Restriction on files

Dale Ghent daleg at elemental.org
Wed Mar 13 21:27:11 CST 2002


On Wed, 13 Mar 2002, Bret Adams - MIS wrote:

| Hey Everybody:
|
| Anybody know how to get around the 2GB restriction on file size,
| particularly on Solaris 2.8.

Well, in Solaris >= 2.6 (this means 2.6, 7, 8, and beyond) the OS and UFS
filesystem support large files (files over 2GB in size.)

But the application must be compiled to take advantage of 64bit file
offsets. Just because you're running an OS that supports largefiles,
doesnt mean your apps automatically can open large files.

man lfcompile

/dale



More information about the SunHELP mailing list