With solaris you have to mount ufs partitions with the 'largefiles'
option in order to write anything larger than 2GB.  Unless you are
running solaris in 64bit mode (on a compatible 64bit architecture -yes I
knew someone that tried-) then partitions are automatcialy mounted with
the largefiles option.  If I remember right most modern solaris
installations default to having largefiles on.  (anything after 7) but 
I haven't played around with 8 or 9 so I can't say for sure.

Stick


On Mon, Mar 24, 2003 at 09:19:13AM -0500, Douglas Kojetin wrote:
> A follow up on Jeremy's post about "O_LARGEFILE" flag:
> 
> Is this specific to Linux binaries or universal to (C) universally?  We
> tried to do a similar process (writing a > 2GB file from an executable)
> under Solaris and got a similar error message (it did not say file was too
> large, but core dumped at the same file size as the error occurred in
> Linux).
> 
> Thanks,
> Doug
> 
> 
> 
> _______________________________________________
> TriLUG mailing list
>     http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>     http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
> 

-- 
http://stick.miscellaneous.net
Chris MacLeod

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to